-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename PyString to DocString (close #15)
- Loading branch information
Showing
6 changed files
with
125 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
require('../../support/spec_helper'); | ||
|
||
describe("Cucumber.Ast.DocString", function() { | ||
var Cucumber = require('cucumber'); | ||
var docString, string, line; | ||
|
||
beforeEach(function() { | ||
string = createSpy("DocString string"); | ||
line = createSpy("DocString line number"); | ||
docString = Cucumber.Ast.DocString(string, line); | ||
}); | ||
|
||
describe("getString()", function() { | ||
it("returns the string of the DocString", function() { | ||
expect(docString.getString()).toBe(string); | ||
}); | ||
}); | ||
}); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.