spec/controllers/curate/collections_controller_spec.rb in curate-0.6.0 vs spec/controllers/curate/collections_controller_spec.rb in curate-0.6.1
- old
+ new
@@ -63,10 +63,10 @@
expect {
expect {
post :create, collection: { title: 'test title', description: 'test desc'}, add_to_profile: 'true'
}.to change{ProfileSection.count}.by(1)
}.to_not change{Collection.count}
- expect(response).to redirect_to person_path(user.person)
+ expect(response).to redirect_to user_profile_path
end
end
describe "without access" do
describe "#update" do