Sha256: f3e0beafdeaac331c0246856fddbeae9ccb70bbcec91aa492649fd77df8d7ec5
Contents?: true
Size: 906 Bytes
Versions: 10
Compression:
Stored size: 906 Bytes
Contents
############################################################################## # Shoulda Plugin ############################################################################## begin require 'shoulda-matchers' rescue LoadError end if defined? Shoulda Shoulda::Matchers.configure do |config| config.integrate do |with| with.test_framework :rspec end end if defined? ActiveRecord Shoulda::Matchers.configure do |config| config.integrate do |with| with.library :active_record end end end if defined? ActiveModel Shoulda::Matchers.configure do |config| config.integrate do |with| with.library :active_model end end end if defined? ActionController Shoulda::Matchers.configure do |config| config.integrate do |with| with.library :action_controller end end end end
Version data entries
10 entries across 10 versions & 2 rubygems