Sha256: ecf3453183a623a73b5c756df0083dd19b82d5bb6f75f07458cab3be899d35b0
Contents?: true
Size: 395 Bytes
Versions: 7
Compression:
Stored size: 395 Bytes
Contents
require 'spec_helper' describe "Show" do let(:show_spec) { {uuid: generate_uuid, venue: 'The Venue', city: 'Boulder', state: 'CO', country: 'US', year: 1981, month: 2, day: 25, position: 0} } context '#update_from' do before(:each) { Show.create_from(show_spec) } subject { show_spec[:position] = 1; Show.update_from(show_spec) } its(:position) { should == 1 } end end
Version data entries
7 entries across 7 versions & 1 rubygems