Sha256: 26da1f13207380938b2f220255c035b4c2819976acd17b9fc11bba281206ac10

Contents?: true

Size: 286 Bytes

Versions: 14

Compression:

Stored size: 286 Bytes

Contents

require 'spec_helper'

describe RailsBestPractices::Reviews::Review do
  let(:check) { RailsBestPractices::Reviews::Review.new }

  context "equal?" do
    it "should be true when compare symbol string with symbol" do
      check.equal?(":test", :test).should be_true
    end
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
rails_best_practices-0.10.1 spec/rails_best_practices/reviews/review_spec.rb
rails_best_practices-0.10.0 spec/rails_best_practices/reviews/review_spec.rb
rails_best_practices-raydog153-0.9.1 spec/rails_best_practices/reviews/review_spec.rb
rails_best_practices-0.9.0 spec/rails_best_practices/reviews/review_spec.rb
rails_best_practices-0.8.2 spec/rails_best_practices/reviews/review_spec.rb
rails_best_practices-0.8.1 spec/rails_best_practices/reviews/review_spec.rb
rails_best_practices-0.8.0 spec/rails_best_practices/reviews/review_spec.rb
rails_best_practices-0.7.5 spec/rails_best_practices/reviews/review_spec.rb
rails_best_practices-0.7.4 spec/rails_best_practices/reviews/review_spec.rb
rails_best_practices-0.7.3 spec/rails_best_practices/reviews/review_spec.rb
rails_best_practices-0.7.2 spec/rails_best_practices/reviews/review_spec.rb
rails_best_practices-0.7.1 spec/rails_best_practices/reviews/review_spec.rb
rails_best_practices-0.7.0 spec/rails_best_practices/reviews/review_spec.rb
rails_best_practices-0.6.7 spec/rails_best_practices/reviews/review_spec.rb