1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00
thoughtbot--shoulda-matchers/features/activemodel_integration.feature

16 lines
584 B
Gherkin
Raw Normal View History

Feature: integration with ActiveModel
Scenario: create a new project using matchers
When I generate a new ActiveModel application
And I configure the application to use "shoulda-matchers" from this project
And I write to "load_dependencies.rb" with:
"""
require 'active_model'
require 'shoulda-matchers'
puts ActiveModel::VERSION::STRING
puts "Loaded all dependencies without errors"
"""
When I successfully run `bundle exec ruby load_dependencies.rb`
Then the output should contain "Loaded all dependencies without errors"