Sha256: e7d5c7ec24dd661ffc1fe4ef084c7865c8ce7463f28c8d8ed7d750d08271b7ab
Contents?: true
Size: 1.2 KB
Versions: 7
Compression:
Stored size: 1.2 KB
Contents
require 'spec_helper' describe Evergreen::Runner do let(:suite) { Evergreen::Suite.new } subject { Evergreen::Spec.new(suite, template) } context "with standard setup" do before { Evergreen.root = File.expand_path('suite1', File.dirname(__FILE__)) } context "with transactions spec" do let(:template) { 'transactions_spec.js' } it { should pass } end context "with spec helper" do let(:template) { 'with_helper_spec.js' } it { should pass } end context "with template spec" do let(:template) { 'templates_spec.js' } it { should pass } end context "invalid coffee" do let(:template) { 'invalid_coffee_spec.coffee' } it { should_not pass } end context "with slow failing spec" do let(:template) { 'slow_spec.coffee' } it { should_not pass } end end context "with modified setup" do before { Evergreen.root = File.expand_path('suite2', File.dirname(__FILE__)) } context "with awesome spec" do let(:template) { 'awesome_spec.js' } it { should pass } end context "with failing spec" do let(:template) { 'failing_spec.js' } it { should_not pass } end end end
Version data entries
7 entries across 7 versions & 1 rubygems