Skip to content

Commit

Permalink
Removing out of date event spec for updating locked events.
Browse files Browse the repository at this point in the history
  • Loading branch information
aeschright committed Feb 15, 2015
1 parent f935f20 commit 4190c81
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions spec/models/event_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@
expect(event.locked).to eq(false)
end

it "can't be updated if it's locked" do
event = Event.create(:title => "Event title", :start_time => Time.zone.parse('2008.04.12'))
event.lock_editing!
expect(event.update_attributes(:title => "New title")).to eq(false)
end

it "can't be deleted if it's locked" do
event = Event.create(:title => "Event title", :start_time => Time.zone.parse('2008.04.12'))
event.lock_editing!
Expand Down

0 comments on commit 4190c81

Please sign in to comment.