This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/zdennis/source/mhs_projects/quest/vendor/plugins/cucumber/bin/../lib/cucumber/parser/treetop_ext.rb:58:in `parse_or_fail': features/expenses_reimbursements/staff_member_editing_submitted_expense_reimbursements.feature:46:3: Parse error, expected one of (Cucumber::Parser::SyntaxError) | |
, """, Given, When, Then, And, But, #, @, Scenario:, Scenario Outline:. from /Users/zdennis/source/mhs_projects/quest/vendor/plugins/cucumber/bin/../lib/cucumber/parser/treetop_ext.rb:20:in `parse_file' | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Webrat.configure do |config| | |
config.mode = :selenium | |
end | |
class Cucumber::Rails::World | |
def wait_for_ajax(timeout = 15000) | |
selenium.wait_for_condition "window.Ajax.activeRequestCount == 0", timeout | |
end | |
def wait_for_effects(timeout = 15000) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
== without rescue_from | |
=== rails 2.2.2 | |
* raising an error explicitly is propagated up the controller spec. | |
* raising an error implicitly (ie: unknown method) propagates the error to the controller spec | |
=== rails 2.1.2 | |
* raising an error explicitly is propagated up the controller spec. | |
* raising an error implicitly (ie: unknown method) propagates the error to the controller spec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
require 'rubygems' | |
require 'ar-extensions' | |
require 'active_record' | |
require 'ostruct' | |
class TextFile | |
module DescribeMethods | |
def file(identifier, global_field_options={}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') | |
describe "/items/edit.html.erb" do | |
def with_escaped_text(text) | |
pattern = Regexp.escape ERB::Util.html_escape(text) | |
with_tag("*", Regexp.new(pattern, Regexp::IGNORECASE)) | |
end | |
before(:each) do | |
@item = mock_model(Item) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%=h status %> | |
<% content_for :footer %> | |
<%=h footer %> | |
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xml = '<?xml version="1.0" encoding="UTF-8"?> | |
<multistatus xmlns="DAV:"> | |
<response> | |
</response> | |
</multistatus>' | |
doc = Nokogiri::XML(xml) | |
doc.search "/multistatus" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/zdennis/source/mhs_projects/quest/vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:209:in `initialize': wrong number of arguments (2 for 1) (ArgumentError) | |
from /Users/zdennis/source/mhs_projects/quest/vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:209:in `new' | |
from /Users/zdennis/source/mhs_projects/quest/vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:209:in `execute_examples' | |
from /Users/zdennis/source/mhs_projects/quest/vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:208:in `each' | |
from /Users/zdennis/source/mhs_projects/quest/vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:208:in `execute_examples' | |
from /Users/zdennis/source/mhs_projects/quest/vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:99:in `run' | |
from /Users/zdennis/source/mhs_projects/quest/vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:23:in `run' | |
from /Users/zdennis/source/mhs_projects/quest/vendor/plugins/rspec/lib/spec/ru |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SubdomainFu.tld_sizes = {:development => 1, | |
:test => 1 , | |
:selenium => 1, | |
:staging => 2, | |
:production => 1} # set all at once (also the defaults) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ bin/spec spec | |
/Users/zdennis/source/opensource_projects/rspec-dev/example_rails_app/vendor/plugins/rspec/spec/spec/runner/heckle_runner_spec.rb:5: Foo is not a module (TypeError) | |
from /Users/zdennis/source/opensource_projects/rspec-dev/example_rails_app/vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:15:in `load' | |
from /Users/zdennis/source/opensource_projects/rspec-dev/example_rails_app/vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:15:in `load_files' | |
from /Users/zdennis/source/opensource_projects/rspec-dev/example_rails_app/vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:14:in `each' | |
from /Users/zdennis/source/opensource_projects/rspec-dev/example_rails_app/vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:14:in `load_files' | |
from /Users/zdennis/source/opensource_projects/rspec-dev/example_rails_app/vendor/plugins/rspec/lib/spec/runner/options.rb:97:in `run_examples' | |
from /Users/zdennis/source/opensource_projects/rspec-dev/example_rails_app/ve |