Displaying 1 result from an estimated 1 matches for "edit_spec".
2006 Dec 08
2
UJS plugin incompatible with RSpec?
Hi all,
Anyone using UJS with RSpec? I have the following view spec:
---- edit_spec.rb
context "accounts/edit" do
fixtures :users
setup do
assigns[:user] = users(:consumer)
end
specify "should display the user info to edit" do
render ''/accounts/edit''
end
end
---- end
that causes this exception:
---- exception
ActionView::...