spec/unit/virtus/attributes_reader_spec.rb in virtus-1.0.2 vs spec/unit/virtus/attributes_reader_spec.rb in virtus-1.0.3
- old
+ new
@@ -1,9 +1,9 @@
require 'spec_helper'
describe Virtus, '#attributes' do
- share_examples_for 'attribute hash' do
+ shared_examples_for 'attribute hash' do
it 'includes all attributes' do
subject.attributes = { :test => 'Hello World', :test_priv => 'Yo' }
expect(subject.attributes).to eql(:test => 'Hello World')
end