taza 0.8.0 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. data/History.txt +7 -0
  2. data/Manifest.txt +14 -0
  3. data/{README.txt → README} +0 -0
  4. data/README.textile +1 -0
  5. data/VERSION.yml +4 -0
  6. data/generators/flow/templates/flow.rb.erb +2 -5
  7. data/generators/page/templates/functional_page_spec.rb.erb +1 -1
  8. data/generators/partial/partial_generator.rb +57 -0
  9. data/generators/partial/templates/partial.rb.erb +7 -0
  10. data/generators/site/site_generator.rb +1 -0
  11. data/lib/app_generators/taza/taza_generator.rb +12 -16
  12. data/lib/app_generators/taza/templates/rakefile.rb.erb +7 -0
  13. data/lib/extensions/array.rb +10 -0
  14. data/lib/extensions/hash.rb +5 -0
  15. data/lib/extensions/object.rb +24 -0
  16. data/lib/extensions/string.rb +11 -0
  17. data/lib/taza.rb +7 -24
  18. data/lib/taza/browser.rb +9 -16
  19. data/lib/taza/entity.rb +34 -0
  20. data/lib/taza/fixture.rb +66 -0
  21. data/lib/taza/flow.rb +10 -15
  22. data/lib/taza/page.rb +13 -8
  23. data/lib/taza/settings.rb +17 -6
  24. data/lib/taza/site.rb +25 -19
  25. data/lib/taza/tasks.rb +42 -26
  26. data/spec/array_spec.rb +16 -0
  27. data/spec/browser_spec.rb +14 -28
  28. data/spec/entity_spec.rb +9 -0
  29. data/spec/fixture_spec.rb +34 -0
  30. data/spec/fixtures_spec.rb +21 -0
  31. data/spec/flow_generator_spec.rb +0 -20
  32. data/spec/hash_spec.rb +12 -0
  33. data/spec/object_spec.rb +29 -0
  34. data/spec/page_generator_spec.rb +0 -1
  35. data/spec/page_spec.rb +14 -0
  36. data/spec/partial_generator_spec.rb +38 -0
  37. data/spec/project_generator_spec.rb +6 -1
  38. data/spec/sandbox/fixtures/examples.yml +8 -0
  39. data/spec/sandbox/fixtures/users.yml +2 -0
  40. data/spec/sandbox/flows/batman.rb +4 -1
  41. data/spec/sandbox/pages/foo/partials/partial_the_reckoning.rb +2 -0
  42. data/spec/settings_spec.rb +5 -5
  43. data/spec/site_generator_spec.rb +5 -1
  44. data/spec/site_spec.rb +19 -29
  45. data/spec/spec_helper.rb +12 -4
  46. data/spec/string_spec.rb +7 -0
  47. data/spec/taza_tasks_spec.rb +17 -1
  48. metadata +59 -45
  49. data/Rakefile +0 -125
  50. data/lib/taza/browsers/ie_watir.rb +0 -8
  51. data/lib/taza/browsers/safari_watir.rb +0 -8
  52. data/spec/platform/osx/browser_spec.rb +0 -14
  53. data/spec/platform/windows/browser_spec.rb +0 -14
  54. data/spec/unit_helper_spec.rb +0 -14
@@ -2,7 +2,6 @@ require 'spec/spec_helper'
2
2
  require 'rubygems'
3
3
  require 'fileutils'
4
4
  require 'taza'
5
- require 'vendor/gems/gems/rubigen-1.3.2/test/test_generator_helper'
6
5
 
7
6
  class Taza::Site
8
7
  def flows
@@ -48,23 +47,4 @@ describe "Flow Generation" do
48
47
  lambda { run_generator('flow', [@flow_name,"NoSuchSite"], generator_sources) }.should raise_error
49
48
  end
50
49
 
51
- it "should generate flows that will not have namespace collisions with pages" do
52
- flow_name = "SignIn"
53
- run_generator('flow', [flow_name,@site_class.to_s], generator_sources)
54
- run_generator('page', [flow_name,@site_class.to_s], generator_sources)
55
- stub_settings
56
- stub_browser
57
- site = @site_class.new
58
- site.flow(:sign_in)
59
- site.sign_in_page
60
- end
61
-
62
- it "should generate flows that will not have namespace collisions with other sites' flows" do
63
- new_site_class = generate_site('Pag')
64
- run_generator('flow', [@flow_name,@site_class.to_s], generator_sources)
65
- run_generator('flow', [@flow_name,new_site_class.to_s], generator_sources)
66
- stub_settings
67
- stub_browser
68
- (@site_class.new.flows & new_site_class.new.flows).should be_empty
69
- end
70
50
  end
@@ -0,0 +1,12 @@
1
+ require 'spec/spec_helper'
2
+
3
+ describe 'Hash Extensions' do
4
+ it "should add methods for hash keys to some instance" do
5
+ entity = {'apple' => 'pie'}.convert_hash_keys_to_methods(nil)
6
+ entity.should respond_to(:apple)
7
+ end
8
+ it "should not add the methods to a hash" do
9
+ entity = {'apple' => 'pie'}.convert_hash_keys_to_methods(nil)
10
+ entity.should_not be_a_instance_of(Hash)
11
+ end
12
+ end
@@ -0,0 +1,29 @@
1
+ require 'spec/spec_helper'
2
+
3
+ describe "Object" do
4
+ before :all do
5
+ @orig_version = VERSION
6
+ Object.send :remove_const, :VERSION
7
+ Object.const_set :VERSION, "1.8.6"
8
+ load 'lib/extensions/object.rb'
9
+ end
10
+
11
+ after :all do
12
+ Object.send :remove_const, :VERSION
13
+ Object.const_set :VERSION, @orig_version
14
+ end
15
+
16
+ it "should execute blocks with args in instance context" do
17
+ str = "string"
18
+
19
+ class << str
20
+ def my_singleton_method(arg)
21
+ arg
22
+ end
23
+ end
24
+
25
+ block = Proc.new { |arg| my_singleton_method(arg) }
26
+
27
+ str.instance_exec("foo",&block).should == "foo"
28
+ end
29
+ end
@@ -2,7 +2,6 @@ require 'spec/spec_helper'
2
2
  require 'rubygems'
3
3
  require 'fileutils'
4
4
  require 'taza'
5
- require 'vendor/gems/gems/rubigen-1.3.2/test/test_generator_helper'
6
5
 
7
6
  describe "Page Generation" do
8
7
  include RubiGen::GeneratorTestHelper
@@ -11,6 +11,20 @@ describe Taza::Page do
11
11
  end
12
12
  end
13
13
 
14
+ class RecursiveFilterExample < Taza::Page
15
+ element(:foo) {}
16
+ filter :sample_filter
17
+ def sample_filter
18
+ foo
19
+ true
20
+ end
21
+ end
22
+
23
+ it "should not enter a infinite loop if you call a filtered element inside of a filter" do
24
+ page = RecursiveFilterExample.new
25
+ lambda { page.foo }.should_not raise_error
26
+ end
27
+
14
28
  it "should execute an element's block with the params provided for its method" do
15
29
  Taza::Page.element(:boo){|baz| baz}
16
30
  Taza::Page.new.boo("rofl").should == "rofl"
@@ -0,0 +1,38 @@
1
+ require 'spec/spec_helper'
2
+ require 'rubygems'
3
+ require 'fileutils'
4
+ require 'taza'
5
+
6
+ describe "Partial Generation" do
7
+ include RubiGen::GeneratorTestHelper
8
+ include Helpers::Generator
9
+ include Helpers::Taza
10
+
11
+ before :all do
12
+ @site_name = "Foo"
13
+ @site_folder = File.join(PROJECT_FOLDER,'lib','sites',"gap")
14
+ @site_file = File.join(PROJECT_FOLDER,'lib','sites',"gap.rb")
15
+ @partial_name = "Header"
16
+ end
17
+
18
+ before :each do
19
+ run_generator('taza', [APP_ROOT], generator_sources)
20
+ @site_class = generate_site(@site_name)
21
+ end
22
+
23
+ after :each do
24
+ bare_teardown
25
+ end
26
+
27
+ it "should give you usage if you do not give two arguments" do
28
+ PartialGenerator.any_instance.expects(:usage)
29
+ lambda { run_generator('partial', [@partial_name], generator_sources) }.should raise_error
30
+ end
31
+
32
+ it "should give you usage if you give a site that does not exist" do
33
+ PartialGenerator.any_instance.expects(:usage)
34
+ $stderr.expects(:puts).with(regexp_matches(/NoSuchSite/))
35
+ lambda { run_generator('partial', [@partial_name,"NoSuchSite"], generator_sources) }.should raise_error
36
+ end
37
+
38
+ end
@@ -3,13 +3,13 @@ require 'rubygems'
3
3
  require 'rake'
4
4
  require 'fileutils'
5
5
  require 'taza'
6
- require 'vendor/gems/gems/rubigen-1.3.2/test/test_generator_helper'
7
6
 
8
7
  describe "Project Generator" do
9
8
  include RubiGen::GeneratorTestHelper
10
9
 
11
10
  before :all do
12
11
  @spec_helper = File.join(TMP_ROOT,PROJECT_NAME,'spec','spec_helper.rb')
12
+ @rakefile = File.join(TMP_ROOT,PROJECT_NAME,'rakefile')
13
13
  end
14
14
 
15
15
  before :each do
@@ -25,6 +25,11 @@ describe "Project Generator" do
25
25
  system("ruby -c #{@spec_helper} > #{null_device}").should be_true
26
26
  end
27
27
 
28
+ it "should generate a rakefile that can be required" do
29
+ run_generator('taza', [APP_ROOT], generator_sources)
30
+ system("ruby -c #{@spec_helper} > #{null_device}").should be_true
31
+ end
32
+
28
33
  it "spec helper should set the TAZA_ENV variable if it is not provided" do
29
34
  ENV['TAZA_ENV'] = nil
30
35
  run_generator('taza', [APP_ROOT], generator_sources)
@@ -0,0 +1,8 @@
1
+ first_example:
2
+ name: first
3
+ user: shatner
4
+ price: 1
5
+ second_example:
6
+ name: second
7
+ price: 2
8
+ user: shatner
@@ -0,0 +1,2 @@
1
+ shatner:
2
+ name: William Shatner
@@ -1,2 +1,5 @@
1
- class Batman < ::Taza::Flow
1
+ class Barz
2
+ def batman_flow
3
+ "i am batman"
4
+ end
2
5
  end
@@ -0,0 +1,2 @@
1
+ class PartialTheReckoning < Taza::Page
2
+ end
@@ -10,13 +10,13 @@ describe Taza::Settings do
10
10
 
11
11
  before :each do
12
12
  ENV['TAZA_ENV'] = 'isolation'
13
- ENV['browser'] = nil
14
- ENV['driver'] = nil
13
+ ENV['BROWSER'] = nil
14
+ ENV['DRIVER'] = nil
15
15
  end
16
16
 
17
17
  it "should use environment variable for browser settings" do
18
18
  Taza::Settings.stubs(:path).returns("spec/sandbox")
19
- ENV['browser'] = 'foo'
19
+ ENV['BROWSER'] = 'foo'
20
20
  Taza::Settings.config(@site_name)[:browser].should eql(:foo)
21
21
  end
22
22
 
@@ -28,7 +28,7 @@ describe Taza::Settings do
28
28
 
29
29
  it "should use environment variable for driver settings" do
30
30
  Taza::Settings.stubs(:path).returns("spec/sandbox")
31
- ENV['driver'] = 'bar'
31
+ ENV['DRIVER'] = 'bar'
32
32
  Taza::Settings.config(@site_name)[:driver].should eql(:bar)
33
33
  end
34
34
 
@@ -50,7 +50,7 @@ describe Taza::Settings do
50
50
  end
51
51
 
52
52
  it "should use the ENV variables if specfied instead of config files" do
53
- ENV['browser'] = 'opera'
53
+ ENV['BROWSER'] = 'opera'
54
54
  Taza::Settings.expects(:config_file).returns({:browser => :fu})
55
55
  Taza::Settings.stubs(:path).returns("spec/sandbox")
56
56
  Taza::Settings.config(@site_name)[:browser].should eql(:opera)
@@ -2,7 +2,6 @@ require 'spec/spec_helper'
2
2
  require 'rubygems'
3
3
  require 'fileutils'
4
4
  require 'taza'
5
- require 'vendor/gems/gems/rubigen-1.3.2/test/test_generator_helper'
6
5
 
7
6
  describe "Site Generation" do
8
7
  include RubiGen::GeneratorTestHelper
@@ -35,6 +34,11 @@ describe "Site Generation" do
35
34
  File.directory?(@site_folder).should be_true
36
35
  end
37
36
 
37
+ it "should generate a partials folder under pages" do
38
+ run_generator('site', [@site_name], generator_sources)
39
+ File.directory?(File.join(@site_folder,"pages","partials")).should be_true
40
+ end
41
+
38
42
  it "should generate a folder for a sites functional tests" do
39
43
  run_generator('site', [@site_name], generator_sources)
40
44
  File.directory?(File.join(PROJECT_FOLDER,'spec','functional','wikipedia_foo')).should be_true
@@ -5,14 +5,15 @@ require 'taza'
5
5
  describe Taza::Site do
6
6
 
7
7
  before :all do
8
- @pages_path = File.join("spec","sandbox","pages","foo","*.rb")
8
+ @pages_path = File.join("spec","sandbox","pages","foo","**","*.rb")
9
+ @flows_path = File.join("spec","sandbox","flows","*.rb")
9
10
  Foo = Class.new(Taza::Site)
10
11
  end
11
12
 
12
13
  before :each do
13
14
  Foo.any_instance.stubs(:pages_path).returns(@pages_path)
14
- ENV['browser'] = nil
15
- ENV['driver'] = nil
15
+ ENV['BROWSER'] = nil
16
+ ENV['DRIVER'] = nil
16
17
  Taza::Settings.stubs(:config_file).returns({})
17
18
  Taza::Settings.stubs(:site_file).returns({})
18
19
  Taza::Site.before_browser_closes {}
@@ -22,37 +23,16 @@ describe Taza::Site do
22
23
  browser = stub_browser
23
24
  Taza::Browser.stubs(:create).returns(browser)
24
25
  Bax = Class.new(Taza::Site)
25
- Bax.new.pages_path.should eql("./lib/sites/bax/pages/*.rb")
26
+ Bax.new.pages_path.should eql("./lib/sites/bax/pages/**/*.rb")
26
27
  end
27
28
 
28
- it "should execute a flow with given parameters" do
29
+ it "should have flows defined as instance methods" do
29
30
  browser = stub_browser
30
31
  Taza::Browser.stubs(:create).returns(browser)
31
- params = {}
32
- require 'spec/sandbox/flows/batman'
33
- Batman.any_instance.expects(:run).with(params)
34
32
  Barz = Class.new(Taza::Site)
35
33
  Barz.any_instance.stubs(:path).returns('spec/sandbox')
36
- Barz.new.flow(:batman,params)
37
- end
38
-
39
- it "should require a flow once it is called" do
40
- browser = stub_browser
41
- Taza::Browser.stubs(:create).returns(browser)
42
- Class.constants.include?('Robin').should be_false
43
- Bayz = Class.new(Taza::Site)
44
- Bayz.any_instance.stubs(:path).returns('spec/sandbox')
45
- Bayz.new.flow(:robin,{})
46
- Robin
47
- end
48
-
49
- it "should create a browser using environment variables" do
50
- browser = stub_browser
51
- browser.stubs(:goto)
52
- Taza::Browser.expects(:create_watir_ie).returns browser
53
- ENV['browser'] = 'ie'
54
- ENV['driver'] = 'watir'
55
- f = Foo.new
34
+ Barz.any_instance.stubs(:flows_path).returns(@flows_path)
35
+ Barz.new.batman_flow.should == "i am batman"
56
36
  end
57
37
 
58
38
  it "should open watir browsers at the configuration URL" do
@@ -148,6 +128,7 @@ describe Taza::Site do
148
128
  site.should respond_to(:bar)
149
129
  end
150
130
  end
131
+
151
132
  it "should yield after browser has been setup" do
152
133
  Taza::Browser.stubs(:create).returns(stub_browser)
153
134
  klass = Class::new(Taza::Site)
@@ -164,6 +145,15 @@ describe Taza::Site do
164
145
  foo.bar.browser.should eql(browser)
165
146
  end
166
147
 
148
+ it "should add partials defined under the pages directory" do
149
+ Taza::Browser.stubs(:create).returns(stub_browser)
150
+ klass = Class::new(Taza::Site)
151
+ klass.any_instance.stubs(:pages_path).returns(@pages_path)
152
+ klass.new do |site|
153
+ site.partial_the_reckoning
154
+ end
155
+ end
156
+
167
157
  it "should have a way to evaluate a block of code before site closes the browser" do
168
158
  browser = stub()
169
159
  browser.stubs(:goto)
@@ -236,4 +226,4 @@ describe Taza::Site do
236
226
  browser
237
227
  end
238
228
 
239
- end
229
+ end
@@ -4,9 +4,6 @@ require 'mocha'
4
4
  require 'config/vendorized_gems'
5
5
  lib_path = File.expand_path("#{File.dirname(__FILE__)}/../lib")
6
6
  $LOAD_PATH.unshift lib_path unless $LOAD_PATH.include?(lib_path)
7
- TMP_ROOT = File.join(File.dirname(__FILE__),"sandbox","generated")
8
- PROJECT_NAME = 'example'
9
- PROJECT_FOLDER = File.join(TMP_ROOT,PROJECT_NAME)
10
7
 
11
8
 
12
9
  Spec::Runner.configure do |config|
@@ -14,9 +11,19 @@ Spec::Runner.configure do |config|
14
11
  end
15
12
 
16
13
  def null_device
17
- Taza.windows? ? 'NUL': '/dev/null'
14
+ File.exists?('/dev/null') ? '/dev/null' : 'NUL'
18
15
  end
19
16
 
17
+ #### Rubigen helpers
18
+ require 'rubigen'
19
+ require 'rubigen/helpers/generator_test_helper'
20
+
21
+ # Must set before requiring generator libs.
22
+ TMP_ROOT = File.join(File.dirname(__FILE__),"sandbox","generated")
23
+ PROJECT_NAME = 'example'
24
+ PROJECT_FOLDER = File.join(TMP_ROOT,PROJECT_NAME)
25
+ APP_ROOT = File.join(TMP_ROOT, PROJECT_NAME)
26
+
20
27
  def generator_sources
21
28
  [RubiGen::PathSource.new(:test, File.join(File.dirname(__FILE__),"..","lib", "app_generators")),
22
29
  RubiGen::PathSource.new(:test, File.join(File.dirname(__FILE__),"..", "generators"))]
@@ -47,3 +54,4 @@ module Helpers
47
54
  end
48
55
  end
49
56
  end
57
+ #### Rubigen helpers end
@@ -0,0 +1,7 @@
1
+ require 'spec/spec_helper'
2
+
3
+ describe "string extensions" do
4
+ it "should pluralize and to sym a string" do
5
+ "apple".pluralize_to_sym.should eql(:apples)
6
+ end
7
+ end
@@ -1,6 +1,7 @@
1
1
  require 'spec/spec_helper'
2
2
  require 'rubygems'
3
3
  require 'rake'
4
+ require 'taglob'
4
5
 
5
6
  describe "Taza Tasks" do
6
7
 
@@ -10,16 +11,31 @@ describe "Taza Tasks" do
10
11
  Rake.application = @rake
11
12
  end
12
13
 
14
+ before :each do
15
+ Dir.stubs(:taglob).returns([])
16
+ end
17
+
13
18
  after :all do
14
19
  Rake.application = nil
15
20
  end
16
21
 
17
22
  it "should create rake spec tasks for all sites" do
18
- Dir.expects(:glob).with('./spec/functional/*/').returns(['./spec/functional/foo/'])
23
+ Dir.stubs(:glob).with('./spec/functional/*/').returns(['./spec/functional/foo/'])
24
+ Dir.stubs(:glob).with('./spec/functional/foo/*_spec.rb').returns([])
19
25
  load @file_name
26
+ Taza::Rake::Tasks.new
20
27
  tasks.include?("spec:functional:foo").should be_true
21
28
  end
22
29
 
30
+ it "should create rake spec tasks for all sites page specs" do
31
+ Dir.expects(:glob).with('./spec/functional/*/').returns(['./spec/functional/foo/'])
32
+ Dir.expects(:glob).with('./spec/functional/foo/*_spec.rb').returns(['./spec/functional/foo/page_spec.rb'])
33
+ load @file_name
34
+ Taza::Rake::Tasks.new
35
+ tasks.include?("spec:functional:foo:page").should be_true
36
+ end
37
+
38
+
23
39
  def tasks
24
40
  @rake.tasks.collect{|task| task.name }
25
41
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: taza
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Anderson
@@ -9,8 +9,8 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-11-24 00:00:00 -08:00
13
- default_executable:
12
+ date: 2009-01-11 00:00:00 -08:00
13
+ default_executable: taza
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: taglob
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - ">="
22
22
  - !ruby/object:Gem::Version
23
- version: 1.0.0
23
+ version: 1.1.1
24
24
  version:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
@@ -30,17 +30,7 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: "0"
34
- version:
35
- - !ruby/object:Gem::Dependency
36
- name: hoe
37
- type: :runtime
38
- version_requirement:
39
- version_requirements: !ruby/object:Gem::Requirement
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- version: "0"
33
+ version: 0.8.3
44
34
  version:
45
35
  - !ruby/object:Gem::Dependency
46
36
  name: mocha
@@ -50,7 +40,7 @@ dependencies:
50
40
  requirements:
51
41
  - - ">="
52
42
  - !ruby/object:Gem::Version
53
- version: 0.9.0
43
+ version: 0.9.3
54
44
  version:
55
45
  - !ruby/object:Gem::Dependency
56
46
  name: rspec
@@ -60,7 +50,7 @@ dependencies:
60
50
  requirements:
61
51
  - - ">="
62
52
  - !ruby/object:Gem::Version
63
- version: "0"
53
+ version: 1.1.12
64
54
  version:
65
55
  - !ruby/object:Gem::Dependency
66
56
  name: rubigen
@@ -70,21 +60,10 @@ dependencies:
70
60
  requirements:
71
61
  - - ">="
72
62
  - !ruby/object:Gem::Version
73
- version: "0"
63
+ version: 1.4.0
74
64
  version:
75
- - !ruby/object:Gem::Dependency
76
- name: hoe
77
- type: :development
78
- version_requirement:
79
- version_requirements: !ruby/object:Gem::Requirement
80
- requirements:
81
- - - ">="
82
- - !ruby/object:Gem::Version
83
- version: 1.8.2
84
- version:
85
- description: Taza is meant to make acceptance testing more sane for developers(or QA where applicable) and customers.
86
- email:
87
- - adamandersonis@gmail.com
65
+ description: Taza is an opionated browser-based testing framework.
66
+ email: adamandersonis@gmail.com
88
67
  executables:
89
68
  - taza
90
69
  extensions: []
@@ -92,61 +71,96 @@ extensions: []
92
71
  extra_rdoc_files:
93
72
  - History.txt
94
73
  - Manifest.txt
95
- - README.txt
74
+ - README
96
75
  files:
97
76
  - History.txt
98
77
  - Manifest.txt
99
- - README.txt
100
- - Rakefile
78
+ - README.textile
79
+ - VERSION.yml
101
80
  - bin/taza
81
+ - generators/flow
102
82
  - generators/flow/flow_generator.rb
83
+ - generators/flow/templates
103
84
  - generators/flow/templates/flow.rb.erb
85
+ - generators/page
104
86
  - generators/page/page_generator.rb
87
+ - generators/page/templates
105
88
  - generators/page/templates/functional_page_spec.rb.erb
106
89
  - generators/page/templates/page.rb.erb
90
+ - generators/partial
91
+ - generators/partial/partial_generator.rb
92
+ - generators/partial/templates
93
+ - generators/partial/templates/partial.rb.erb
94
+ - generators/site
107
95
  - generators/site/site_generator.rb
96
+ - generators/site/templates
108
97
  - generators/site/templates/site.rb.erb
109
98
  - generators/site/templates/site.yml.erb
99
+ - lib/app_generators
100
+ - lib/app_generators/taza
110
101
  - lib/app_generators/taza/taza_generator.rb
102
+ - lib/app_generators/taza/templates
111
103
  - lib/app_generators/taza/templates/config.yml.erb
112
104
  - lib/app_generators/taza/templates/rakefile.rb.erb
113
105
  - lib/app_generators/taza/templates/spec_helper.rb.erb
114
- - lib/taza.rb
106
+ - lib/extensions
107
+ - lib/extensions/array.rb
108
+ - lib/extensions/hash.rb
109
+ - lib/extensions/object.rb
110
+ - lib/extensions/string.rb
111
+ - lib/taza
115
112
  - lib/taza/browser.rb
116
- - lib/taza/browsers/ie_watir.rb
117
- - lib/taza/browsers/safari_watir.rb
113
+ - lib/taza/entity.rb
114
+ - lib/taza/fixture.rb
118
115
  - lib/taza/flow.rb
119
116
  - lib/taza/page.rb
120
117
  - lib/taza/settings.rb
121
118
  - lib/taza/site.rb
122
119
  - lib/taza/tasks.rb
120
+ - lib/taza.rb
121
+ - spec/array_spec.rb
123
122
  - spec/browser_spec.rb
123
+ - spec/entity_spec.rb
124
+ - spec/fixture_spec.rb
125
+ - spec/fixtures_spec.rb
124
126
  - spec/flow_generator_spec.rb
127
+ - spec/hash_spec.rb
128
+ - spec/object_spec.rb
125
129
  - spec/page_generator_spec.rb
126
130
  - spec/page_spec.rb
127
- - spec/platform/osx/browser_spec.rb
128
- - spec/platform/windows/browser_spec.rb
131
+ - spec/partial_generator_spec.rb
129
132
  - spec/project_generator_spec.rb
130
- - spec/sandbox/config.yml
133
+ - spec/sandbox
134
+ - spec/sandbox/config
131
135
  - spec/sandbox/config/config.yml
132
136
  - spec/sandbox/config/site_name.yml
137
+ - spec/sandbox/config.yml
138
+ - spec/sandbox/fixtures
139
+ - spec/sandbox/fixtures/examples.yml
140
+ - spec/sandbox/fixtures/users.yml
141
+ - spec/sandbox/flows
133
142
  - spec/sandbox/flows/batman.rb
134
143
  - spec/sandbox/flows/robin.rb
144
+ - spec/sandbox/pages
145
+ - spec/sandbox/pages/foo
135
146
  - spec/sandbox/pages/foo/bar.rb
147
+ - spec/sandbox/pages/foo/partials
148
+ - spec/sandbox/pages/foo/partials/partial_the_reckoning.rb
136
149
  - spec/settings_spec.rb
137
150
  - spec/site_generator_spec.rb
138
151
  - spec/site_spec.rb
139
152
  - spec/spec_helper.rb
153
+ - spec/string_spec.rb
140
154
  - spec/taza_bin_spec.rb
141
155
  - spec/taza_spec.rb
142
156
  - spec/taza_tasks_spec.rb
143
- - spec/unit_helper_spec.rb
157
+ - README
144
158
  has_rdoc: true
145
- homepage: "http://github.com/scudco/taza/tree/master "
159
+ homepage: http://github.com/scudco/taza
146
160
  post_install_message:
147
161
  rdoc_options:
148
162
  - --main
149
- - README.txt
163
+ - README
150
164
  require_paths:
151
165
  - lib
152
166
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -164,9 +178,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
178
  requirements: []
165
179
 
166
180
  rubyforge_project: taza
167
- rubygems_version: 1.3.0
181
+ rubygems_version: 1.3.1
168
182
  signing_key:
169
183
  specification_version: 2
170
- summary: Taza is meant to make acceptance testing more sane for developers(or QA where applicable) and customers.
184
+ summary: Taza is an opionated browser-based testing framework.
171
185
  test_files: []
172
186