Sha256: fbb238ae1ab3387d3b19fede4012e737684f0368c106a2169410d3fed0ba8922
Contents?: true
Size: 480 Bytes
Versions: 2
Compression:
Stored size: 480 Bytes
Contents
require File.expand_path("#{File.dirname(__FILE__)}/integration_spec_helper") describe "JsSpec" do it "runs a full passing Suite" do mock(JsSpec::Client).puts("SUCCESS") JsSpec::Client.run(:spec_url => "#{root_url}/specs/foo/passing_spec") end it "runs a full failing Suite" do mock(JsSpec::Client).puts("FAILURE") mock(JsSpec::Client).puts(/A failing spec in foo fails/) JsSpec::Client.run(:spec_url => "#{root_url}/specs/foo/failing_spec") end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
js_spec-0.2.0 | spec/integration/integration_spec.rb |
js_spec-0.2.1 | spec/integration/integration_spec.rb |