Sha256: 52a774b5ebf867033e25b0cd922770e38faa5933c505daff931408c99f5388fd

Contents?: true

Size: 289 Bytes

Versions: 7

Compression:

Stored size: 289 Bytes

Contents

require File.dirname(__FILE__) + '/../test_helper'

class StateTest < ActiveSupport::TestCase

  context "a state instance" do
    
    setup do
      @state = Factory(:state)
    end
    
    subject { @state }
    
    should_belong_to :country
    should_scope_by_name
    
  end
  
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
muck-engine-0.4.34 test/rails_root/test/unit/state_test.rb
muck-engine-0.4.33 test/rails_root/test/unit/state_test.rb
muck-engine-0.4.32 test/rails_root/test/unit/state_test.rb
muck-engine-0.4.31 test/rails_root/test/unit/state_test.rb
muck-engine-0.4.30 test/rails_root/test/unit/state_test.rb
muck-engine-0.4.29 test/rails_root/test/unit/state_test.rb
muck-engine-0.4.27 test/rails_root/test/unit/state_test.rb