Skip to content

Commit

Permalink
New Snippet text, closes #618.
Browse files Browse the repository at this point in the history
Change to the new Snippet text. Update History.md.
Fix a one off error in JRubySnippet.java.
  • Loading branch information
brasmusson committed Nov 2, 2013
1 parent 7127414 commit d198062
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class JavaScriptSnippetTest {
public void generatesPlainSnippet() {
String expected = "" +
"Given(/^I have (\\d+) cukes in my \"([^\"]*)\" belly$/, function(arg1, arg2) {\n" +
" // Express the Regexp above with the code you wish you had\n" +
" // Write code here that turns the phrase above into concrete actions\n" +
" throw new Packages.cucumber.api.PendingException();\n" +
"});\n";
assertEquals(expected, snippetFor("I have 4 cukes in my \"big\" belly"));
Expand Down

0 comments on commit d198062

Please sign in to comment.