spec/spec_helper.rb in faml-0.4.2 vs spec/spec_helper.rb in faml-0.5.0
- old
+ new
@@ -29,9 +29,18 @@
eval(Faml::Engine.new(options).call(str))
end
end
end
+module Faml
+ TestStruct = Struct.new(:id)
+ TestRefStruct = Struct.new(:id) do
+ def haml_object_ref
+ 'faml_test'
+ end
+ end
+end
+
RSpec.configure do |config|
config.expect_with :rspec do |expectations|
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
end