Permalink
Browse files

added changelog, fixed overlooked test with default port change

  • Loading branch information...
1 parent ca61185 commit da1460af989b5948b8b72bdee40913a7f4115656 @mrak committed Jul 26, 2012
Showing with 31 additions and 6 deletions.
  1. 0 LICENSE → APACHE.LICENSE
  2. +10 −0 CHANGELOG.md
  3. +0 −1 CONTRIBUTERS
  4. +8 −0 CONTRIBUTERS.md
  5. +9 −1 README.md
  6. +4 −4 spec/cli.spec.coffee
File renamed without changes.
View
@@ -0,0 +1,10 @@
+# Changelog
+
+## 0.1.16beta
+
+* default stub portal is now 8882 (from 80)
+* default admin portal is now 8889 (from 81)
+
+## 0.1.15beta
+
+* initial release
View
@@ -1 +0,0 @@
-Eric Mrak
View
@@ -0,0 +1,8 @@
+# Development
+
+Eric Mrak
+
+# Special Thanks
+
+Alexander Zagniotov
+Isa Goksu
View
@@ -12,11 +12,13 @@
# Installation
Assuming you have node and Coffee-Script installed:
+## via source
+
git clone git://github.com/Afmrak/stubby4node.git
cd stubby4node
cake build
-## OR
+## or via npm
npm install -g stubby
@@ -194,3 +196,9 @@ From the root directory run:
* Dynamic port switching
* HTTP/SSL auth mocking
* Randomized responses based on supplied pattern (exploratory QA abuse)
+
+# NOTES
+
+* __Copyright__ 2012 Eric Mrak, Alexander Zagniotov, Isa Goksu
+* __License__ Apache v2.0
+
View
@@ -64,26 +64,26 @@ describe 'CLI', ->
describe 'getStub', ->
it 'should return default if no flag provided', ->
- expected = 80
+ expected = 8882
actual = sut.getStub []
expect(actual).toBe expected
it 'should return supplied value when provided', ->
- expected = 8882
+ expected = 80
actual = sut.getStub ['-s', expected]
expect(actual).toBe expected
describe 'getAdmin', ->
it 'should return default if no flag provided', ->
- expected = 81
+ expected = 8889
actual = sut.getAdmin []
expect(actual).toBe expected
it 'should return supplied value when provided', ->
- expected = 8889
+ expected = 81
actual = sut.getAdmin ['-a', expected]
expect(actual).toBe expected

0 comments on commit da1460a

Please sign in to comment.