Sha256: 47a2244734042c8de2110b8a3eaf5d6393d41f56c1475e1ab2da296ed76b83ba
Contents?: true
Size: 1.15 KB
Versions: 2
Compression:
Stored size: 1.15 KB
Contents
require File.expand_path(File.dirname(__FILE__) + '/../lib/soundcheck') CURRENT_PWD = Dir.pwd FIXTURES_ROOT = File.expand_path(File.dirname(__FILE__) + '/fixtures') describe "Soundcheck" do context "for a ruby project" do context "using rspec" do before(:all) { Dir.chdir(FIXTURES_ROOT + '/ruby/rspec') } after(:all) { Dir.chdir(CURRENT_PWD) } it "should return 'bundle exec rspec spec' when run with no arguments" do Soundcheck.command_to_run().should == "bundle exec rspec spec" end it "should return 'bundle exec rspec spec/with_spec_helper_spec.rb'" do Soundcheck.command_to_run('spec/with_spec_helper_spec.rb').should == "bundle exec rspec spec/with_spec_helper_spec.rb" end it "should return 'rspec spec/without_spec_helper_spec.rb'" do Soundcheck.command_to_run('spec/without_spec_helper_spec.rb').should == "rspec spec/without_spec_helper_spec.rb" end it "should not use bundler when no Gemfile exists" it "should not call rspec outside of bundler when the rspec command does not exist" end context "using minitest" end context "for a python project" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
soundcheck-0.0.1 | spec/soundcheck_spec.rb |
soundcheck-0.0.0 | spec/soundcheck_spec.rb |