Skip to content

Commit

Permalink
Whitespace-only change. (Fixed spacing in the JS spec files for the g…
Browse files Browse the repository at this point in the history
…enerator.)
  • Loading branch information
Larry Karnowski committed Nov 21, 2008
1 parent 33f5294 commit fd93261
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions generators/javascript_spec/templates/javascript_spec.js.erb
@@ -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 generators/javascript_testing/templates/application_spec.js
@@ -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));
});
}});
};

0 comments on commit fd93261

Please sign in to comment.