Sha256: c40c84b75aef4907bc152ff1d7b1120f6e8ae730bc74c7c76bba66e5f80d93b4

Contents?: true

Size: 504 Bytes

Versions: 4

Compression:

Stored size: 504 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

4 entries across 4 versions & 2 rubygems

Version Path
railsstrap-4.0.0.beta3 spec/rails_helper.rb
railsstrap-4.0.0.beta2 spec/rails_helper.rb
bh-1.3.6 spec/rails_helper.rb
bh-1.3.5 spec/rails_helper.rb