Permalink
Browse files

Updated Gemfile, tweaked simple.rb to work with JRuby 1.6.0

  • Loading branch information...
David Brady
David Brady committed May 4, 2011
1 parent 6be6956 commit c46e615bed19c2fafdaebbf9bb5cde1b8d7eb4c3
Showing with 20 additions and 4 deletions.
  1. +1 −0 Gemfile
  2. +14 −0 Gemfile.lock
  3. +5 −4 examples/contact_app/tours/simple.rb
  4. 0 .rvmrc → rvmrc_187p334
View
@@ -15,4 +15,5 @@ group :test do
gem "tilt", "1.3"
gem "rack", "1.2.2"
gem "sinatra", "1.2.6"
+ gem "ruby-debug"
end
View
@@ -2,27 +2,40 @@ GEM
remote: http://rubygems.org/
specs:
activesupport (3.0.7)
+ columnize (0.3.2)
faker (0.9.5)
i18n (~> 0.4)
hpricot (0.8.4)
+ hpricot (0.8.4-java)
i18n (0.5.0)
+ linecache (0.43)
mechanize (1.0.0)
nokogiri (>= 1.2.1)
nokogiri (1.4.4)
+ nokogiri (1.4.4-java)
+ weakling (>= 0.0.3)
rack (1.2.2)
rack-test (0.5.7)
rack (>= 1.0)
+ ruby-debug (0.10.4)
+ columnize (>= 0.1)
+ ruby-debug-base (~> 0.10.4.0)
+ ruby-debug-base (0.10.4)
+ linecache (>= 0.3)
+ ruby-debug-base (0.10.4-java)
sinatra (1.2.6)
rack (~> 1.1)
tilt (>= 1.2.2, < 2.0)
tilt (1.3)
trollop (1.16.2)
+ weakling (0.0.4-java)
webrat (0.7.3)
nokogiri (>= 1.2.0)
rack (>= 1.0)
rack-test (>= 0.5.3)
PLATFORMS
+ java
ruby
DEPENDENCIES
@@ -34,6 +47,7 @@ DEPENDENCIES
nokogiri (= 1.4.4)
rack (= 1.2.2)
rack-test (= 0.5.7)
+ ruby-debug
sinatra (= 1.2.6)
tilt (= 1.3)
trollop (= 1.16.2)
@@ -1,3 +1,4 @@
+require 'ruby-debug'
class Simple < Tourist
def tour_home
visit "#{@host}/"
@@ -8,12 +9,12 @@ def tour_home
end
def tour_contacts
- visit "/contacts"
-
+ visit "#{@host}/contacts"
+
fill_in "first_name", :with => "Joe"
fill_in "last_name", :with => "Tester"
- click_button
-
+ click_button
+
assert_contain "Tester, Joe"
end
end
View
File renamed without changes.

0 comments on commit c46e615

Please sign in to comment.