forked from bofh/fetsite
AutoCommit Son Sep 6 23:03:05 CEST 2015
This commit is contained in:
@@ -26,8 +26,10 @@ describe GremienController, :type => :view do
|
|||||||
end
|
end
|
||||||
|
|
||||||
describe "GET new" do
|
describe "GET new" do
|
||||||
|
subject(:action) { get :new, {}}
|
||||||
|
|
||||||
it "assigns a new gremium as @gremium" do
|
it "assigns a new gremium as @gremium" do
|
||||||
get :new, {}, valid_session
|
|
||||||
assigns(:gremium).should be_a_new(Gremium)
|
assigns(:gremium).should be_a_new(Gremium)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user