Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
gabifija committed Jan 22, 2019
1 parent 3385df5 commit 8e5f323
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions spec/lib/configuration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,16 @@
expect(configuration.cname).to eq cname
end
end

describe '#version' do
it 'has no version' do
expect(configuration.version).to eq('v2')
end

it 'has version' do
version = 'v3'
configuration.version = version
expect(configuration.version).to eq version
end
end
end

0 comments on commit 8e5f323

Please sign in to comment.