Sha256: 640a125ef417cbf68f9ec72ba0974ae0025cbbbdf603524f5b73536903f9913b

Contents?: true

Size: 380 Bytes

Versions: 46

Compression:

Stored size: 380 Bytes

Contents

ENV["RAILS_ENV"] ||= 'test'
require File.expand_path("../dummy/config/environment", __FILE__)
require 'rspec/rails'

RSpec.configure do |config|
  config.infer_spec_type_from_file_location!
end

def normalize(str)
  str.split("\n").map(&:strip).join("")
end

RSpec::Matchers.define :like_of do |expected|
  match do |actual|
    normalize(actual) == normalize(expected)
  end
end

Version data entries

46 entries across 46 versions & 2 rubygems

Version Path
semantic-ui-sass-2.2.7.1 spec/spec_helper.rb
semantic-ui-sass-2.2.7.0 spec/spec_helper.rb
semantic-ui-sass-2.2.6.0 spec/spec_helper.rb
semantic-ui-sass-2.2.4.0 spec/spec_helper.rb
semantic-ui-sass-2.2.3.0 spec/spec_helper.rb
semantic-ui-sass-2.2.2.2 spec/spec_helper.rb
semantic-ui-sass-2.2.2.1 spec/spec_helper.rb
semantic-ui-sass-2.2.2.0 spec/spec_helper.rb
semantic-ui-sass-2.2.1.1 spec/spec_helper.rb
semantic-ui-sass-2.2.1.0 spec/spec_helper.rb
semantic-ui-sass-2.2.0.0 spec/spec_helper.rb
semantic-ui-sass-2.1.8.0 spec/spec_helper.rb
semantic-ui-sass-2.1.6.0 spec/spec_helper.rb
semantic-ui-sass-2.1.4.0 spec/spec_helper.rb
semantic-ui-sass-2.1.3.0 spec/spec_helper.rb
semantic-ui-sass-2.0.7.0 spec/spec_helper.rb
semantic-ui-sass-2.0.4.0 spec/spec_helper.rb
semantic-ui-sass-1.12.3.0 spec/spec_helper.rb
semantic-ui-sass-1.11.5.0 spec/spec_helper.rb
semantic-ui-sass-1.11.4.1 spec/spec_helper.rb