Sha256: a937897f5b86139eb9dc576390a92ae61ba1f249f5ef9846ff7464b524e6aab7

Contents?: true

Size: 478 Bytes

Versions: 1

Compression:

Stored size: 478 Bytes

Contents

require 'spec_helper'

require File.expand_path(File.dirname(__FILE__)) + '/../support/test_sites'

describe 'wbench' do
  sites.each do |site|
    it "should return information from #{site} in chrome" do
      expect { WBench::Benchmark.run(site, :loops => 1) }.to_not raise_exception
    end

    it "should return information from #{site} in firefox" do
      expect { WBench::Benchmark.run(site, :browser => :firefox, :loops => 1) }.to_not raise_exception
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wbench-0.3.2 spec/wbench/integration_spec.rb