Skip to content
This repository has been archived by the owner on Jan 16, 2022. It is now read-only.

Commit

Permalink
Standardize on "require 'spec_helper'".
Browse files Browse the repository at this point in the history
  • Loading branch information
ragaskar committed Apr 14, 2012
1 parent 2e60e6e commit ece0652
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 10 deletions.
1 change: 0 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__))
$LOAD_PATH.unshift File.expand_path("#{File.dirname(__FILE__)}/lib")
require "bundler"
Bundler.setup
Bundler::GemHelper.install_tasks

require "jasmine"
Expand Down
2 changes: 1 addition & 1 deletion spec/config_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper"))
require 'spec_helper'
require 'selenium-webdriver'

describe Jasmine::Config do
Expand Down
2 changes: 1 addition & 1 deletion spec/jasmine_command_line_tool_rakeless_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper"))
require 'spec_helper'

describe "Jasmine command line tool" do
context "when rake has not been required yet" do
Expand Down
4 changes: 2 additions & 2 deletions spec/jasmine_command_line_tool_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper"))
require 'spec_helper'

describe "Jasmine command line tool" do
before :each do
Expand Down Expand Up @@ -26,4 +26,4 @@
output = capture_stdout { Jasmine::CommandLineTool.new.process ["license"] }
output.should =~ /Copyright/
end
end
end
2 changes: 1 addition & 1 deletion spec/jasmine_pojs_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper"))
require 'spec_helper'

describe "POJS jasmine install" do

Expand Down
2 changes: 1 addition & 1 deletion spec/jasmine_rails2_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper"))
require 'spec_helper'

if Jasmine::Dependencies.rails2? && !Jasmine::Dependencies.legacy_rails?

Expand Down
2 changes: 1 addition & 1 deletion spec/jasmine_rails3_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper"))
require 'spec_helper'

if Jasmine::Dependencies.rails3?

Expand Down
2 changes: 1 addition & 1 deletion spec/jasmine_self_test_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper"))
require 'spec_helper'
require 'jasmine_self_test_config'

jasmine_config = JasmineSelfTestConfig.new
Expand Down
2 changes: 1 addition & 1 deletion spec/server_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper"))
require 'spec_helper'
require 'rack/test'

describe "Jasmine.app" do
Expand Down

0 comments on commit ece0652

Please sign in to comment.