Skip to content

Commit

Permalink
Remove specs for country methods
Browse files Browse the repository at this point in the history
  • Loading branch information
toothfairy committed Mar 24, 2015
1 parent 467f456 commit 8ec300f
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions spec/cellular/models/sms_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,30 +116,4 @@
end.to raise_error NotImplementedError
end
end

describe '#country' do
it 'issues a deprecation warning' do
expect(subject).to receive(:warn)
subject.country
end

it 'returns country_code' do
allow(subject).to receive(:warn)
expect(subject.country).to eq(subject.country_code)
end
end

describe '#country=' do
it 'issues a deprecation warning' do
expect(subject).to receive(:warn)
subject.country = 'Test'
end

it 'assigns country_code' do
allow(subject).to receive(:warn)
subject.country = 'Test'
expect(subject.country_code).to eq('Test')
end
end

end

0 comments on commit 8ec300f

Please sign in to comment.