spec/spec_helper.rb in slacken-0.1.0 vs spec/spec_helper.rb in slacken-0.1.1

- old
+ new

@@ -2,11 +2,10 @@ require 'slacken' require 'helpers/document_component_dsl' def fixture(name) - @fixture_cache ||= {} - @fixture_cache[name] ||= File.read(File.expand_path(name, File.expand_path('fixtures', __dir__))) + File.read(File.join(__dir__, 'fixtures', name)) end RSpec.configure do |c| c.include DocumentComponentDsl, dsl: true end