spec/declarable_spec.rb in flip-0.1.0 vs spec/declarable_spec.rb in flip-0.2.0
- old
+ new
@@ -21,10 +21,10 @@
context "with default set to false" do
it { should_not be_on(:one) }
it { should be_on(:three) }
end
context "with default set to true" do
- before(:all) { model_class.send(:default, true) }
+ before { model_class.send(:default, true) }
it { should be_on(:one) }
it { should be_on(:three) }
end
end