Permalink
Browse files

added rvm and bundler with gemfile, specs all passing now

  • Loading branch information...
1 parent 01b7d62 commit 98c134aad8777d4438b02fda502b52cf3061780a @stewartmckee committed Feb 9, 2012
Showing with 27 additions and 3 deletions.
  1. +2 −0 .rspec
  2. +1 −0 .rvmrc
  3. +4 −0 Gemfile
  4. +20 −0 Gemfile.lock
  5. +0 −3 spec/absolutize/absolutize_spec.rb
View
2 .rspec
@@ -0,0 +1,2 @@
+--color
+--format documentation
View
1 .rvmrc
@@ -0,0 +1 @@
+rvm use 1.9.3@absolutize
View
@@ -0,0 +1,4 @@
+source 'http://rubygems.org'
+
+gem 'rspec'
+gem 'absolutize'
View
@@ -0,0 +1,20 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ absolutize (0.0.12)
+ diff-lcs (1.1.3)
+ rspec (2.8.0)
+ rspec-core (~> 2.8.0)
+ rspec-expectations (~> 2.8.0)
+ rspec-mocks (~> 2.8.0)
+ rspec-core (2.8.0)
+ rspec-expectations (2.8.0)
+ diff-lcs (~> 1.1.2)
+ rspec-mocks (2.8.0)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ absolutize
+ rspec
@@ -86,9 +86,6 @@
before(:each) do
@absolutize = Absolutize.new(@base_url, :raise_exceptions => true)
end
- it "should raise an exception when absolutize can't fix a url" do
- lambda { @absolutize.url("http://.asdf.com/root folder/asdf.html#anchor")}.should raise_error
- end
it "should not raise an exception when a valid url is given" do
lambda { @absolutize.url("http://www.asdf.com/rootfolder/asdf.html#anchor")}.should_not raise_error
end

0 comments on commit 98c134a

Please sign in to comment.