rspec-kickstarter 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -41,7 +41,7 @@ class RSpecKickstarter::Generator
41
41
  <<EACH_SPEC
42
42
  # TODO auto-generated
43
43
  describe '#{method.name}' do
44
- it 'should work' do#{get_instantiation_code(c, method)}#{get_params_initialization_code(method)}
44
+ it 'works' do#{get_instantiation_code(c, method)}#{get_params_initialization_code(method)}
45
45
  result = #{get_method_invocation_code(c, method)}
46
46
  result.should_not be_nil
47
47
  end
@@ -84,7 +84,7 @@ describe #{get_complete_class_name(c)} do
84
84
  <<EACH_SPEC
85
85
  # TODO auto-generated
86
86
  describe '#{method.name}' do
87
- it 'should work' do#{get_instantiation_code(c, method)}#{get_params_initialization_code(method)}
87
+ it 'works' do#{get_instantiation_code(c, method)}#{get_params_initialization_code(method)}
88
88
  result = #{get_method_invocation_code(c, method)}
89
89
  result.should_not be_nil
90
90
  end
@@ -1,3 +1,3 @@
1
1
  module RSpecKickstarter
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -5,7 +5,7 @@ require "rspec_kickstarter/version"
5
5
 
6
6
  module RSpecKickstarter
7
7
 
8
- def self.write_spec(file_path, spec_dir, force_write = false, dry_run = false)
8
+ def self.write_spec(file_path, spec_dir = './spec', force_write = false, dry_run = false)
9
9
  generator = RSpecKickstarter::Generator.new(spec_dir)
10
10
  generator.write_spec(file_path, force_write, dry_run)
11
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-kickstarter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-28 00:00:00.000000000 Z
12
+ date: 2013-05-01 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: rspec-kickstarter supports you writing tests for existing code.
15
15
  email:
@@ -44,7 +44,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
44
44
  version: '0'
45
45
  requirements: []
46
46
  rubyforge_project:
47
- rubygems_version: 1.8.24
47
+ rubygems_version: 1.8.23
48
48
  signing_key:
49
49
  specification_version: 3
50
50
  summary: rspec-kickstarter supports you writing tests for existing code.