Sha256: b6454163fb1d3f87be80a13ac11fe997fe8fbb2508085184416121ba7bdc9111

Contents?: true

Size: 298 Bytes

Versions: 14

Compression:

Stored size: 298 Bytes

Contents

require 'spec_helper'

describe RailsBestPractices::Core::Klasses do
  it { should be_a_kind_of Array }

  context "Klass" do
    it "should get to_s" do
      klass = RailsBestPractices::Core::Klass.new("BlogPost", "Post", ["Admin"])
      klass.to_s.should == "Admin::BlogPost"
    end
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
rails_best_practices-gorgeouscode-1.0.0 spec/rails_best_practices/core/klasses_spec.rb
rails_best_practices-1.9.0 spec/rails_best_practices/core/klasses_spec.rb
rails_best_practices-1.8.0 spec/rails_best_practices/core/klasses_spec.rb
rails_best_practices-1.7.2 spec/rails_best_practices/core/klasses_spec.rb
rails_best_practices-1.7.1 spec/rails_best_practices/core/klasses_spec.rb
rails_best_practices-1.7.0 spec/rails_best_practices/core/klasses_spec.rb
rails_best_practices-1.6.0 spec/rails_best_practices/core/klasses_spec.rb
rails_best_practices-1.5.3 spec/rails_best_practices/core/klasses_spec.rb
rails_best_practices-1.5.2 spec/rails_best_practices/core/klasses_spec.rb
rails_best_practices-1.5.1 spec/rails_best_practices/core/klasses_spec.rb
rails_best_practices-1.5.0 spec/rails_best_practices/core/klasses_spec.rb
rails_best_practices-1.4.0 spec/rails_best_practices/core/klasses_spec.rb
rails_best_practices-1.3.0 spec/rails_best_practices/core/klasses_spec.rb
rails_best_practices-1.2.0 spec/rails_best_practices/core/klasses_spec.rb