spec/lib/danica/expressable_spec.rb in danica-2.7.4 vs spec/lib/danica/expressable_spec.rb in danica-2.7.5
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
require 'spec_helper'
class Danica::Expressable::Dummy
include Danica::Expressable
@@ -7,15 +9,16 @@
built_with :the_block
end
describe Danica::Expressable do
- let(:clazz) { described_class::Dummy }
subject do
clazz.create(:x) { x }
end
- it_behaves_like 'an object that respond to basic_methods', ignore: %i(valued? container? is_grouped? priority)
+ let(:clazz) { described_class::Dummy }
+
+ it_behaves_like 'an object that respond to basic_methods', ignore: %i[valued? container? is_grouped? priority]
describe '.build' do
it 'responds to build' do
expect(clazz).to respond_to(:build)
end