This file contains hidden or 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
| matt@Hubba:~$ cat /etc/hosts | |
| 127.0.0.1 localhost | |
| 127.0.1.1 Hubba | |
| ::1 localhost ip6-localhost ip6-loopback | |
| fe00::0 ip6-localnet | |
| ff00::0 ip6-mcastprefix | |
| ff02::1 ip6-allnodes | |
| ff02::2 ip6-allrouters |
This file contains hidden or 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
| matt@Hubba:~$ sudo cat /etc/hosts | |
| sudo: unable to resolve host Hubba | |
| 127.4.4.4 fake |
This file contains hidden or 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
| Feature: Integrate fixes | |
| In order to integrate a set of fixes from corresponding Git branches with the main branch | |
| As a build engineer | |
| I need an interactive commandline tool that leads me through the process | |
| @announce | |
| Scenario: Simulate integration of 3 fixes # features/integrate/integrate.feature:8 | |
| Given commandline options -n # features/integrate/step_definitions/common_steps.rb:5 | |
| Running python /Users/matt/temp/misc/integrate -n 850234 850235 850236 |
This file contains hidden or 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
| diff -u /Applications/RubyMine 2.0.2.app/rb/testing/patch/bdd/teamcity/cucumber.orig/common.rb /Applications/RubyMine 2.0.2.app/rb/testing/patch/bdd/teamcity/cucumber/common.rb | |
| --- /Applications/RubyMine 2.0.2.app/rb/testing/patch/bdd/teamcity/cucumber.orig/common.rb 2010-08-25 19:27:48.000000000 +0100 | |
| +++ /Applications/RubyMine 2.0.2.app/rb/testing/patch/bdd/teamcity/cucumber/common.rb 2010-08-25 19:31:58.000000000 +0100 | |
| @@ -403,7 +403,6 @@ | |
| # cucumber >= 0.3.8 | |
| print_stats(features) | |
| print_passing_wip(@options) | |
| - print_tag_limit_warnings(@options) | |
| end | |
| end |
This file contains hidden or 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
| $:.unshift(File.dirname(__FILE__) + '/lib') unless $:.include?(File.dirname(__FILE__) + '/lib') | |
| #TODO: Why not just cucumber!!! | |
| require 'cucumber/cli/main' | |
| class TagExpression | |
| def limits | |
| [] | |
| end | |
| end |
This file contains hidden or 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
| :bundle exec spec spec\integration\user_agent_spec.rb:54 --backtrace | |
| [2010-10-22 14:06:25] INFO WEBrick 1.3.1 | |
| [2010-10-22 14:06:34] INFO ruby 1.8.7 (2010-08-16) [i386-mingw32] | |
| [2010-10-22 14:06:34] INFO WEBrick::HTTPServer#start: pid=3276 port=9887 | |
| F | |
| 1) | |
| Errno::ENOEXEC in 'Capybara::Driver::Akephalos when requesting a page with a use | |
| r agent set when resetting back to default sends the default user agent header' | |
| Exec format error - C:/Documents and Settings/Administrator/My Documents/project |
This file contains hidden or 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
| :bundle exec spec spec\integration\user_agent_spec.rb | |
| You must 'gem install win32console' to use colour on Windows | |
| Capybara::Session | |
| with non-existant driver | |
| should raise an error | |
| Capybara::Driver::Akephalos | |
| #user_agent= | |
| when given :default | |
| [2010-10-22 14:13:59] INFO WEBrick 1.3.1 | |
| [2010-10-22 14:13:59] INFO ruby 1.8.7 (2010-08-16) [i386-mingw32] |
This file contains hidden or 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
| a_step "there is a User" do | |
| it "creates a User" do | |
| User.count.should == 1 | |
| end | |
| end |
This file contains hidden or 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
| Feature: Filter content items | |
| In order to navigate the tremendous amount of content in the aqua portal | |
| I want to be able to filter the list of content items when browsing | |
| Background: | |
| Given the following content items exist: | |
| | Title | Hospital | Metric | Area | | |
| | Deaths in Salford | Salford Royal | Deaths | Lancashire | | |
| | Beds in Bolton | Bolton General | Beds | Lancashire | |
This file contains hidden or 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
| module EventsHelper | |
| def create_events(events_table) | |
| events_table.map_headers! {|header| header.is_a?(Symbol) ? header : header.gsub(/\s/,'_').to_sym } | |
| system_time = TimeService.now | |
| events_table.hashes.each do |event| | |
| event[:name] ||= "Event #{system_time.strftime("%H:%M:%S")}" | |
| event[:enabled] ||= true | |
| event[:time] ||= system_time |