Sha256: 095323d0222a99e011f4b276746734c8b7af2fadb90ea53e93fe2e62a707d459
Contents?: true
Size: 636 Bytes
Versions: 3
Compression:
Stored size: 636 Bytes
Contents
require 'spec_helper' describe Everqueen::Test do let(:suite) { Everqueen::Suite.new } subject { Everqueen::Test.new(suite, 'testing_test.js') } its(:name) { should == 'testing_test.js' } its(:root) { should == File.expand_path('suite1', File.dirname(__FILE__)) } its(:full_path) { should == File.expand_path("test/javascripts/testing_test.js", Everqueen.root) } its(:url) { should == "/run/testing_test.js" } context "with existing test file" do it { should exist } end context "with missing test file" do subject { Everqueen::Test.new(suite, 'does_not_exist.js') } it { should_not exist } end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
everqueen-1.1.1 | spec/test_spec.rb |
everqueen-1.1.0 | spec/test_spec.rb |
everqueen-1.0.1 | spec/test_spec.rb |