diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index 56c920ec..4ea89e04 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -451,7 +451,7 @@ getJasmineRequireObj().Env = function(j$) { }; var getSpecName = function(spec, currentSuite) { - return currentSuite.getFullName() + ' ' + spec.description + '.'; + return currentSuite.getFullName() + ' ' + spec.description; }; // TODO: we may just be able to pass in the fn instead of wrapping here diff --git a/spec/javascripts/core/EnvSpec.js b/spec/javascripts/core/EnvSpec.js index cab66672..ac14d576 100644 --- a/spec/javascripts/core/EnvSpec.js +++ b/spec/javascripts/core/EnvSpec.js @@ -485,9 +485,9 @@ describe("Env integration", function() { }); }); - expect(topLevelSpec.getFullName()).toBe("my tests are sometimes top level."); - expect(nestedSpec.getFullName()).toBe("my tests are sometimes singly nested."); - expect(doublyNestedSpec.getFullName()).toBe("my tests are sometimes even doubly nested."); + expect(topLevelSpec.getFullName()).toBe("my tests are sometimes top level"); + expect(nestedSpec.getFullName()).toBe("my tests are sometimes singly nested"); + expect(doublyNestedSpec.getFullName()).toBe("my tests are sometimes even doubly nested"); }); it("Custom equality testers should be per spec", function(done) { diff --git a/src/core/Env.js b/src/core/Env.js index d846c680..c1a8985f 100644 --- a/src/core/Env.js +++ b/src/core/Env.js @@ -81,7 +81,7 @@ getJasmineRequireObj().Env = function(j$) { }; var getSpecName = function(spec, currentSuite) { - return currentSuite.getFullName() + ' ' + spec.description + '.'; + return currentSuite.getFullName() + ' ' + spec.description; }; // TODO: we may just be able to pass in the fn instead of wrapping here