Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Remove pending from passing spec, un-nest unrelated spec
Browse files Browse the repository at this point in the history
  • Loading branch information
indirect committed Feb 25, 2010
1 parent 73df27c commit e35a538
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions spec/runtime/setup_spec.rb
Expand Up @@ -71,7 +71,6 @@

describe "with paths" do
it "activates the gems in the path source" do
pending
system_gems "rack-1.0.0"

build_lib "rack", "1.0.0" do |s|
Expand Down Expand Up @@ -154,24 +153,24 @@
should_not_be_installed "activesupport 2.3.2", :groups => :rack
should_be_installed "rack 1.0.0", :groups => :rack
end
end

# Rubygems returns loaded_from as a string
it "has loaded_from as a string on all specs" do
build_git "foo"
# Rubygems returns loaded_from as a string
it "has loaded_from as a string on all specs" do
build_git "foo"

install_gemfile <<-G
source "file://#{gem_repo1}"
gem "rack"
gem "foo", :git => "#{lib_path('foo-1.0')}"
G
install_gemfile <<-G
source "file://#{gem_repo1}"
gem "rack"
gem "foo", :git => "#{lib_path('foo-1.0')}"
G

run <<-R
Gem.loaded_specs.each do |n, s|
puts "FAIL" unless String === s.loaded_from
end
R
run <<-R
Gem.loaded_specs.each do |n, s|
puts "FAIL" unless String === s.loaded_from
end
R

out.should be_empty
end
out.should be_empty
end
end

0 comments on commit e35a538

Please sign in to comment.