Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot call method "toEqual" #18

Closed
noris opened this issue Mar 21, 2011 · 1 comment
Closed

Cannot call method "toEqual" #18

noris opened this issue Mar 21, 2011 · 1 comment

Comments

@noris
Copy link

noris commented Mar 21, 2011

When i was running the maven 'test' goal, i am getting

  • TypeError: Cannot call method "toEqual" of undefined in file

This is whats there in the spec.

describe("TEST SPEC", function() {

it('should increment a variable', function () {
var foo = 0; // set up the world
foo++; // call your application code
expect(foo).toEqual(1); // passes because foo == 1
});

});

Am i doing something wrong? I see the jasmine code in the specrunner.html (aswell manualspecrunner.html).

Any help will be appreciated.

@searls searls closed this as completed Jul 8, 2011
@searls
Copy link
Owner

searls commented Jul 8, 2011

Closing this, as I'm not able to reproduce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants