Sha256: 887a221fcfec1d1e3a4f0ced0b1cd8b6dd915e50161285c5234261552b6bb463
Contents?: true
Size: 985 Bytes
Versions: 5
Compression:
Stored size: 985 Bytes
Contents
# -*- coding: utf-8 -*- # Author:: TAC (tac@tac42.net) require 'glint' Dir[File.expand_path("../servers/*.rb", __FILE__)].each {|f| require f} require 'rspec' shared_context 'httpserver' do require 'net/http' let(:uri) { "http://#{Glint::Server.info[:httpserver][:host]}:#{Glint::Server.info[:httpserver][:port]}" } end # ENV['CODECLIMATE_REPO_TOKEN'] = "0dc78d33107a7f11f257c0218ac1a37e0073005bb9734f2fd61d0f7e803fc151" # require "codeclimate-test-reporter" # CodeClimate::TestReporter.start require 'simplecov' require 'coveralls' Coveralls.wear! SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter ] SimpleCov.start $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'yasuri' def compare_generated_vs_original(generated, original, page) expected = original.inject(@agent, page) actual = generated.inject(@agent, page) expect(actual).to match expected end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
yasuri-2.0.13 | spec/spec_helper.rb |
yasuri-2.0.12 | spec/spec_helper.rb |
yasuri-1.9.12 | spec/spec_helper.rb |
yasuri-1.9.11 | spec/spec_helper.rb |
yasuri-2.0.11 | spec/spec_helper.rb |