Corrected meeting agenda spec

pull/6827/head
Hagen Schink 12 years ago
parent 8d55d9f230
commit 84c89c15e8
  1. 4
      spec/models/meeting_agenda_spec.rb

@ -1,8 +1,7 @@
require 'spec_helper'
describe "MeetingAgenda" do
before(:all) do
#@m = FactoryGirl.build :meeting, :title => "dingens"
before(:each) do
@a = FactoryGirl.build :meeting_agenda, :text => "Some content...\n\nMore content!\n\nExtraordinary content!!"
end
@ -31,6 +30,7 @@ describe "MeetingAgenda" do
# a meeting agenda is editable when it is not locked
describe "#editable?" do
it "is editable when not locked" do
@a.locked = false
@a.editable?.should be_true
end
it "is not editable when locked" do

Loading…
Cancel
Save