Skip to content

Commit

Permalink
+ Autotest is now clever enough to figure out where the files are
Browse files Browse the repository at this point in the history
You might have to do a touch .rspec in the root of the project if it doesn't manage.
  • Loading branch information
kschiess committed Dec 29, 2010
1 parent 91a609e commit d96bccb
Show file tree
Hide file tree
Showing 16 changed files with 15 additions and 33 deletions.
18 changes: 8 additions & 10 deletions Gemfile.lock
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -10,16 +10,14 @@ GEM
flexmock (0.8.11) flexmock (0.8.11)
json (1.4.6) json (1.4.6)
rdoc (2.4.3) rdoc (2.4.3)
rspec (2.0.1) rspec (2.3.0)
rspec-core (~> 2.0.1) rspec-core (~> 2.3.0)
rspec-expectations (~> 2.0.1) rspec-expectations (~> 2.3.0)
rspec-mocks (~> 2.0.1) rspec-mocks (~> 2.3.0)
rspec-core (2.0.1) rspec-core (2.3.1)
rspec-expectations (2.0.1) rspec-expectations (2.3.0)
diff-lcs (>= 1.1.2) diff-lcs (~> 1.1.2)
rspec-mocks (2.0.1) rspec-mocks (2.3.0)
rspec-core (~> 2.0.1)
rspec-expectations (~> 2.0.1)
sdoc (0.2.20) sdoc (0.2.20)
json (>= 1.1.3) json (>= 1.1.3)
rdoc (= 2.4.3) rdoc (= 2.4.3)
Expand Down
17 changes: 0 additions & 17 deletions autotest/discover.rb

This file was deleted.

13 changes: 7 additions & 6 deletions example/simple_xml.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -42,12 +42,13 @@ def check(xml)
# string "verified". If the transformation ends on a string, then the # string "verified". If the transformation ends on a string, then the
# document was 'valid'. # document was 'valid'.
# #
t = Parslet::Transform.new t = Parslet::Transform.new do
t.rule( rule(
o: {name: simple(:tag)}, o: {name: simple(:tag)},
c: {name: simple(:tag)}, c: {name: simple(:tag)},
i: simple(:t) i: simple(:t)
) { 'verified' } ) { 'verified' }
end


t.apply(r) t.apply(r)
end end
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit d96bccb

Please sign in to comment.