spec/integration/belongs_to_spec.rb in activeadmin-0.2.2 vs spec/integration/belongs_to_spec.rb in activeadmin-0.3.0
- old
+ new
@@ -31,10 +31,10 @@
end
end
describe "the view links" do
it "should take you to the sub resource" do
- click "View"
+ click_link "View"
current_path.should == "/admin/users/#{user.id}/posts/#{post.id}"
end
end
end