Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Standardize on "require 'spec_helper'".

  • Loading branch information...
commit ece0652b41de4ba1ae01f0a95f0f7c7e6d5ddf31 1 parent 2e60e6e
@ragaskar ragaskar authored
View
1  Rakefile
@@ -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"
View
2  spec/config_spec.rb
@@ -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
View
2  spec/jasmine_command_line_tool_rakeless_spec.rb
@@ -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
View
4 spec/jasmine_command_line_tool_spec.rb
@@ -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
@@ -26,4 +26,4 @@
output = capture_stdout { Jasmine::CommandLineTool.new.process ["license"] }
output.should =~ /Copyright/
end
-end
+end
View
2  spec/jasmine_pojs_spec.rb
@@ -1,4 +1,4 @@
-require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper"))
+require 'spec_helper'
describe "POJS jasmine install" do
View
2  spec/jasmine_rails2_spec.rb
@@ -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?
View
2  spec/jasmine_rails3_spec.rb
@@ -1,4 +1,4 @@
-require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper"))
+require 'spec_helper'
if Jasmine::Dependencies.rails3?
View
2  spec/jasmine_self_test_spec.rb
@@ -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
View
2  spec/server_spec.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.