test/definition_test.rb in representable-2.4.1 vs test/definition_test.rb in representable-3.0.0
- old
+ new
@@ -41,16 +41,9 @@
# doesn't override original options.
it { definition.merge!({:something => true})[:whatever].must_equal true }
# override original when passed in #merge!.
it { definition.merge!({:whatever => false})[:whatever].must_equal false }
-
- it "runs macros" do
- definition[:setter].must_equal nil
- definition.merge!(:parse_strategy => :sync)
- definition[:setter].must_respond_to :evaluate
- end
-
# with block
it do
definition = Definition.new(:song, :extend => Module).merge!({:something => true}) do |options|
options[:awesome] = true
options[:render_filter] << 1