spec/sakuramochi/config_spec.rb in sakuramochi-0.5.5 vs spec/sakuramochi/config_spec.rb in sakuramochi-0.5.6

- old
+ new

@@ -1,30 +1,17 @@ require 'spec_helper' describe Sakuramochi::Configuration do before do Sakuramochi.configure do |config| - config.clear @config = config end end subject { @config } describe '#configure' do it { should be_an_instance_of Sakuramochi::Configuration } its(:object_id) { should eq Sakuramochi.config.object_id } - end - - describe '#clear' do - before do - @config.add :test1 - @config.add :test2 - @config.add :test3, :test4 - @config.clear - end - subject { @config.predicates } - - it { should be_empty } end describe '#add' do before do @config.add :test1, :grouping => true