Skip to content

Commit

Permalink
version spec (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
leonovk authored Oct 13, 2023
2 parents 1e6f9ab + 26c5bfd commit 46fb05b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
bacon_ipsum (0.1.2)
bacon_ipsum (0.1.3)
typhoeus (~> 1.4)

GEM
Expand Down
2 changes: 1 addition & 1 deletion lib/bacon_ipsum/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module BaconIpsum
VERSION = '0.1.2'
VERSION = '0.1.3'
end
7 changes: 7 additions & 0 deletions spec/lib/bacon_ipsum/version_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# frozen_string_literal: true

RSpec.describe 'BaconIpsum::VERSION' do
it 'returns version' do
expect(BaconIpsum::VERSION).to eq('0.1.3')
end
end
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

require_relative '../lib/bacon_ipsum/http_client'
require_relative '../lib/bacon_ipsum/parser'
require_relative '../lib/bacon_ipsum/version'
require_relative '../lib/bacon_ipsum'
require 'webmock/rspec'
require 'json'
Expand Down

0 comments on commit 46fb05b

Please sign in to comment.