Sha256: 948117d3320c1e21c09b3a4ea77480f226ac74a236f57b5d9f2a5951d0eae20b

Contents?: true

Size: 325 Bytes

Versions: 65

Compression:

Stored size: 325 Bytes

Contents

require File.dirname(__FILE__) + '/../spec_helper'

describe "script/spec file" do
  it "should run a spec" do
    dir = File.dirname(__FILE__)
    output = `#{RAILS_ROOT}/script/spec #{dir}/sample_spec.rb`
    unless $?.exitstatus == 0
      flunk "command 'script/spec spec/sample_spec' failed\n#{output}"
    end
  end
end

Version data entries

65 entries across 65 versions & 11 rubygems

Version Path
dchelimsky-rspec-rails-1.1.10 spec/rails/spec_spec.rb
dchelimsky-rspec-rails-1.1.11.1 spec/rails/spec_spec.rb
dchelimsky-rspec-rails-1.1.11.2 spec/rails/spec_spec.rb
dchelimsky-rspec-rails-1.1.11.3 spec/rails/spec_spec.rb
dchelimsky-rspec-rails-1.1.11 spec/rails/spec_spec.rb
dchelimsky-rspec-rails-1.1.6 spec/rails/spec_spec.rb
dchelimsky-rspec-rails-1.1.7 spec/rails/spec_spec.rb
dchelimsky-rspec-rails-1.1.8 spec/rails/spec_spec.rb
dchelimsky-rspec-rails-1.1.9 spec/rails/spec_spec.rb
jcnetdev-rspec-rails-1.1.5 spec/rails/spec_spec.rb
jnstq-acts_as_sms-0.1.0 test/vendor/plugins/rspec-rails/spec/rails/spec_spec.rb
jnstq-acts_as_sms-0.1.1 test/vendor/plugins/rspec-rails/spec/rails/spec_spec.rb
jnstq-acts_as_sms-0.1.3 test/vendor/plugins/rspec-rails/spec/rails/spec_spec.rb
jnstq-acts_as_sms-0.1.4 test/vendor/plugins/rspec-rails/spec/rails/spec_spec.rb
jstorimer-deep-test-2.0.0 sample_rails_project/vendor/plugins/rspec_on_rails/spec/rails/spec_spec.rb
jstorimer-deep-test-1.4.0 sample_rails_project/vendor/plugins/rspec_on_rails/spec/rails/spec_spec.rb
jstorimer-deep-test-1.3.0 sample_rails_project/vendor/plugins/rspec_on_rails/spec/rails/spec_spec.rb
jstorimer-deep-test-1.2.0 sample_rails_project/vendor/plugins/rspec_on_rails/spec/rails/spec_spec.rb
jstorimer-deep-test-1.1.0 sample_rails_project/vendor/plugins/rspec_on_rails/spec/rails/spec_spec.rb
jstorimer-deep-test-1.0.0 sample_rails_project/vendor/plugins/rspec_on_rails/spec/rails/spec_spec.rb