test/lib/vedeu/models/cell_test.rb in vedeu-0.4.16 vs test/lib/vedeu/models/cell_test.rb in vedeu-0.4.17

- old
+ new

@@ -8,27 +8,27 @@ let(:instance) { described.new(attributes) } let(:attributes) { { colour: colour, style: style, - value: value, + value: _value, x: x, y: y, } } let(:colour) { Colour.new(background: '#000000') } let(:style) {} - let(:value) {} + let(:_value) {} let(:x) {} let(:y) {} describe '#initialize' do subject { instance } it { subject.must_be_instance_of(described) } it { subject.instance_variable_get('@colour').must_equal(colour) } it { subject.instance_variable_get('@style').must_equal(style) } - it { subject.instance_variable_get('@value').must_equal(value) } + it { subject.instance_variable_get('@value').must_equal(_value) } it { subject.instance_variable_get('@x').must_equal(x) } it { subject.instance_variable_get('@y').must_equal(y) } end describe '#eql?' do