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.4.4.0 spec/spec_helper.rb
semantic-ui-sass-2.4.3.0 spec/spec_helper.rb
semantic-ui-sass-2.4.2.0 spec/spec_helper.rb
fomantic-ui-sass-2.6.4 spec/spec_helper.rb
semantic-ui-sass-2.4.0.1 spec/spec_helper.rb
semantic-ui-sass-2.4.0.0 spec/spec_helper.rb
semantic-ui-sass-2.3.1.2 spec/spec_helper.rb
semantic-ui-sass-2.3.1.1 spec/spec_helper.rb
semantic-ui-sass-2.3.1.0 spec/spec_helper.rb
semantic-ui-sass-2.3.0.0 spec/spec_helper.rb
semantic-ui-sass-2.2.14 spec/spec_helper.rb
semantic-ui-sass-2.2.12.1 spec/spec_helper.rb
semantic-ui-sass-2.2.12.0 spec/spec_helper.rb
semantic-ui-sass-2.2.11.0 spec/spec_helper.rb
semantic-ui-sass-2.2.10.1 spec/spec_helper.rb
semantic-ui-sass-2.2.10.0 spec/spec_helper.rb
semantic-ui-sass-2.2.9.3 spec/spec_helper.rb
semantic-ui-sass-2.2.9.2 spec/spec_helper.rb
semantic-ui-sass-2.2.9.1 spec/spec_helper.rb
semantic-ui-sass-2.2.9.0 spec/spec_helper.rb