Sha256: d8687229c9b3526ba5fcc734ca0c3a27d7c9d07afb2cbeba30d9a7492dce3084
Contents?: true
Size: 505 Bytes
Versions: 5
Compression:
Stored size: 505 Bytes
Contents
require 'spec_helper' class User require 'active_model' include ActiveModel::Validations include ActiveModel::Conversion extend ActiveModel::Naming attr_accessor :name def initialize(attributes = {}) @name = attributes[:name] end def persisted? false end end require 'action_view' include ActionView::Helpers::FormOptionsHelper include defined?(ActionView::VERSION) ? ActionView::RecordIdentifier : ActionController::RecordIdentifier I18n.enforce_available_locales = true
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
bh-1.3.4 | spec/rails_helper.rb |
bh-1.3.3 | spec/rails_helper.rb |
bh-1.3.1 | spec/rails_helper.rb |
bh-1.3.0 | spec/rails_helper.rb |
bh-1.2.0 | spec/rails_helper.rb |