Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Whitespace-only change. (Fixed spacing in the JS spec files for the g…
…enerator.)
- Loading branch information
Larry Karnowski
committed
Nov 21, 2008
1 parent
33f5294
commit fd93261
Showing
2 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
10 changes: 5 additions & 5 deletions
10
generators/javascript_spec/templates/javascript_spec.js.erb
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
require("spec_helper.js"); | ||
|
||
with(Spec) { | ||
describe("<%= class_name_without_spec %>", function() { with(this) { | ||
it("should do something", function() { | ||
// "something".should(equal("something")); | ||
}); | ||
}}); | ||
describe("<%= class_name_without_spec %>", function() { with(this) { | ||
it("should do something", function() { | ||
// "something".should(equal("something")); | ||
}); | ||
}}); | ||
}; |
14 changes: 7 additions & 7 deletions
14
generators/javascript_testing/templates/application_spec.js
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
require("spec_helper.js"); | ||
|
||
with(Spec) { | ||
describe("Your application javascript", function() { with(this) { | ||
it("should do something", function() { | ||
"hello".should(equal("hello")); | ||
}); | ||
describe("Your application javascript", function() { with(this) { | ||
it("should do something", function() { | ||
"hello".should(equal("hello")); | ||
}); | ||
|
||
it("Prototype's $$ selector should find only elements with the provided class selector", function() { | ||
($$('.select_me').length).should(equal(2)); | ||
}); | ||
}}); | ||
($$('.select_me').length).should(equal(2)); | ||
}); | ||
}}); | ||
}; |