Permalink
Browse files

Rearrange specs

  • Loading branch information...
1 parent b1c8dee commit 2e05d803bd17170882be97b31841a99691cb42b3 @kyledrake kyledrake committed Jan 8, 2012
View
2 Rakefile
@@ -3,7 +3,7 @@ require "rake/testtask"
desc "Run all tests"
Rake::TestTask.new do |t|
t.libs << "spec"
- t.test_files = FileList['spec/*_spec.rb']
+ t.test_files = FileList['spec/*_spec.rb','spec/geoloqi/*_spec.rb']
t.verbose = true
end
View
2 spec/geoloqi_api_error_spec.rb → spec/geoloqi/api_error_spec.rb
@@ -1,4 +1,4 @@
-require File.join File.dirname(__FILE__), 'env.rb'
+require File.join File.dirname(__FILE__), '..', 'env.rb'
describe Geoloqi::ApiError do
it 'throws exception properly and allows drill-down of message' do
View
2 spec/geoloqi_config.rb → spec/geoloqi/config_spec.rb
@@ -1,4 +1,4 @@
-require File.join File.dirname(__FILE__), 'env.rb'
+require File.join File.dirname(__FILE__), '..', 'env.rb'
describe Geoloqi::Config do
describe 'with redirect_uri' do
View
2 spec/geoloqi_session_spec.rb → spec/geoloqi/session_spec.rb
@@ -1,4 +1,4 @@
-require File.join File.dirname(__FILE__), 'env.rb'
+require File.join File.dirname(__FILE__), '..', 'env.rb'
describe Geoloqi::Session do
describe 'with nothing passed' do

0 comments on commit 2e05d80

Please sign in to comment.