Sha256: 2f3f95cefb9322322d155665c07f5348bdebb20252e76ad7b6bf6e45b4398194
Contents?: true
Size: 395 Bytes
Versions: 35
Compression:
Stored size: 395 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe 'Settings label' do it "should have label" do label = "E-Mail" Settings.email(label: label, default: "my@mail.ru") expect(Settings.get(:email).name).to eq(label) end it "should properly set label as key if blank" do Settings.email(default: "my@mail.ru") expect(Settings.get(:email).name).to eq('email') end end
Version data entries
35 entries across 35 versions & 2 rubygems