Sha256: a335165b6911a39346086cf596a6784ac911187fc91412db7756c5bad994727d
Contents?: true
Size: 653 Bytes
Versions: 8
Compression:
Stored size: 653 Bytes
Contents
require 'acceptance_spec_helper' describe 'shoulda-matchers integrates with an ActiveModel project' do specify 'and loads without errors' do create_active_model_project add_shoulda_matchers_to_project( test_frameworks: [:rspec], libraries: [:active_model] ) write_file 'load_dependencies.rb', <<-FILE require 'active_model' require 'shoulda-matchers' puts ActiveModel::VERSION::STRING puts "Loaded all dependencies without errors" FILE result = run_command_within_bundle('ruby load_dependencies.rb') expect(result).to have_output('Loaded all dependencies without errors') end end
Version data entries
8 entries across 8 versions & 1 rubygems