Sha256: 914d8d67d59e4457f3aa2822898bf6629eaf97a4a2ef6f4c5be2e4a267b97b40

Contents?: true

Size: 363 Bytes

Versions: 3

Compression:

Stored size: 363 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe 'Solidstate' do

  describe 'inheritance' do
    it 'works' do
      expect(Subscriber.possible_states).to eq(['inactive', 'active', 'unsubscribed', 'disabled'])
      expect(PaidSubscriber.possible_states).to eq(['inactive', 'active', 'unsubscribed', 'disabled'])
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
solidstate-0.4.5 spec/solidstate/solidstate_spec.rb
solidstate-0.4.4 spec/solidstate/solidstate_spec.rb
solidstate-0.4.3 spec/solidstate/solidstate_spec.rb