Sha256: adcda789f787ab8f82d7e9d597a92f7315d0d8d1f3815782c1ec3f8199617e34

Contents?: true

Size: 283 Bytes

Versions: 15

Compression:

Stored size: 283 Bytes

Contents

require "spec_helper"

describe BazaModels::Model::TranslationFunctionality do
  include DatabaseHelper

  it "#model_name" do
    expect(User.model_name.human).to eq "User"
  end

  it "#human_attribute_name" do
    expect(User.human_attribute_name(:email)).to eq "Email"
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
baza_models-0.0.15 spec/baza_models/model/translate_functionality_spec.rb
baza_models-0.0.14 spec/baza_models/model/translate_functionality_spec.rb
baza_models-0.0.13 spec/baza_models/model/translate_functionality_spec.rb
baza_models-0.0.12 spec/baza_models/model/translate_functionality_spec.rb
baza_models-0.0.11 spec/baza_models/model/translate_functionality_spec.rb
baza_models-0.0.10 spec/baza_models/model/translate_functionality_spec.rb
baza_models-0.0.9 spec/baza_models/model/translate_functionality_spec.rb
baza_models-0.0.8 spec/baza_models/model/translate_functionality_spec.rb
baza_models-0.0.7 spec/baza_models/model/translate_functionality_spec.rb
baza_models-0.0.6 spec/baza_models/model/translate_functionality_spec.rb
baza_models-0.0.5 spec/baza_models/model/translate_functionality_spec.rb
baza_models-0.0.4 spec/baza_models/model/translate_functionality_spec.rb
baza_models-0.0.3 spec/baza_models/model/translate_functionality_spec.rb
baza_models-0.0.2 spec/baza_models/model/translate_functionality_spec.rb
baza_models-0.0.1 spec/baza_models/model/translate_functionality_spec.rb