Skip to content

Commit

Permalink
Fix rails version control spec error
Browse files Browse the repository at this point in the history
  • Loading branch information
İsmail Akbudak committed Jul 4, 2018
1 parent 5187400 commit bf9734d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/cybele/version.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

module Cybele
RAILS_VERSION = '~> 5.2', '>= 5.2.0'
RAILS_VERSION = '~> 5.2.0', '>= 5.2.0'
RUBY_VERSION = IO.read("#{File.dirname(__FILE__)}/../../.ruby-version").strip
VERSION = '2.1.0'
end
2 changes: 1 addition & 1 deletion spec/features/new_default_project_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
it 'uses default Gemfile' do
gemfile_file = content('Gemfile')
readme_file = content('README.md')
expect(gemfile_file).to match(/^gem 'rails', '#{Cybele::RAILS_VERSION}'/)
expect(gemfile_file).to match(/^gem 'rails', '#{Cybele::RAILS_VERSION.first}'/)
expect(readme_file).to match(/^# #{app_name.capitalize}/)
expect(readme_file).to match(/^# Docker development/)
expect(readme_file).to match(/^➜ ✗ redis-server/)
Expand Down

0 comments on commit bf9734d

Please sign in to comment.