spec/spec_helper.rb in burgundy-0.1.0 vs spec/spec_helper.rb in burgundy-0.2.0
- old
+ new
@@ -6,5 +6,14 @@
require File.expand_path('../dummy/config/environment.rb', __FILE__)
require 'rspec/rails'
require 'burgundy'
I18n.locale = :en
+
+class ItemWithAdditionalArgs < Burgundy::Item
+ attr_reader :args
+
+ def initialize(target, *args)
+ super(target)
+ @args = args
+ end
+end