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

Specs for PluginFactory #12

Merged
merged 6 commits into from
Oct 24, 2013
Merged

Specs for PluginFactory #12

merged 6 commits into from
Oct 24, 2013

Conversation

kiltec
Copy link
Contributor

@kiltec kiltec commented Oct 23, 2013

For this to work you have to manually download and unzip Jasmine (https://github.com/downloads/pivotal/jasmine/jasmine-standalone-1.3.0.zip) in a folder called "jasmine".
Necessary until it's decided which package manager to use that will then install Jasmine.

… specs

There has to be this dummy spec, otherwise the HtmlRunner will merely show
a blank page - which took me some time to figure out <_<.

For this to work you have to manually download and unzip Jasmine in a folder called "jasmine".
@kiltec
Copy link
Contributor Author

kiltec commented Oct 24, 2013

Added a first real spec for PluginFactory.

I gotta say, Jasmine has been a bit underwhelming so far. Its documentation is pretty basic. I had to check the source code in order to learn how to use "toThrow()" for our use case.
If you should ever use toThrow() remember to always pass the actual expected Error into it, otherwise the spec will also pass for errors you didn't actually expect.

Anyways, we'll see how this turns out, maybe it's just me...

How do we proceed with this PR? Should it be left open until all specs for the PluginFactory are done?

@kiltec
Copy link
Contributor Author

kiltec commented Oct 24, 2013

Actually, I'm going to finish this soon, so please leave this PR open.

@kiltec
Copy link
Contributor Author

kiltec commented Oct 24, 2013

Ok, that should be it, ready for merging.

glaubinix added a commit that referenced this pull request Oct 24, 2013
Specs for PluginFactory
@glaubinix glaubinix merged commit a2cc234 into glaubinix:master Oct 24, 2013
@glaubinix
Copy link
Owner

👍 awesome, thank you!

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

Successfully merging this pull request may close these issues.

2 participants