spec/features/user_pages_spec.rb in adminpanel-1.0.0 vs spec/features/user_pages_spec.rb in adminpanel-1.1.0
- old
+ new
@@ -18,10 +18,9 @@
it { should have_link("i", adminpanel.user_path(user)) }
it { should have_link("i", adminpanel.edit_user_path(user)) }
end
describe "new" do
- let(:category) { Factory(:category) }
before do
visit adminpanel.new_user_path
end
it { should have_title(I18n.t("user.new")) }
\ No newline at end of file