Skip to content

Instantly share code, notes, and snippets.

@seanhandley
Created August 21, 2011 14:51
Show Gist options
  • Save seanhandley/1160692 to your computer and use it in GitHub Desktop.
Save seanhandley/1160692 to your computer and use it in GitHub Desktop.
15:22 ~/Code/watched.it 1.9.2@watchedit (master)
$ rake
/Users/sean.handley/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/csv.rb:201: warning: already initialized constant VERSION
/Users/sean.handley/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/csv.rb:863: warning: already initialized constant FieldInfo
/Users/sean.handley/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/csv.rb:866: warning: already initialized constant DateMatcher
/Users/sean.handley/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/csv.rb:869: warning: already initialized constant DateTimeMatcher
/Users/sean.handley/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/csv.rb:874: warning: already initialized constant ConverterEncoding
/Users/sean.handley/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/csv.rb:900: warning: already initialized constant Converters
/Users/sean.handley/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/csv.rb:945: warning: already initialized constant HeaderConverters
/Users/sean.handley/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/csv.rb:968: warning: already initialized constant DEFAULT_OPTIONS
Loaded suite /Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/rake_test_loader
Started
AuthenticationTest:
PASS authentication belongs to user (0.05s)
EnumerableExtensionTest:
PASS best should always select the longest string value (0.00s)
PASS best should always take the non nil value (0.00s)
PASS best should only work on enumerables with length two (0.00s)
EpGuidesImporterTest:
PASS can be scheduled for later with a limit of five (0.01s)
PASS can be scheduled for later with no limit (0.00s)
PASS with a limit of five should mine five shows (0.00s)
PASS without limit should mine ten shows (0.00s)
EpisodeTest:
PASS being findable by multiple third party links (0.81s)
PASS being findable by third party link (0.06s)
ERROR first and last in season? (0.13s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
PASS it should belong to season (0.02s)
PASS it should belong to show (0.05s)
PASS it should have enumerable notification items (0.02s)
PASS it should validate presense of :show id (0.03s)
ERROR next in same season (0.05s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ERROR previous in the same season (0.14s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
PASS responding to third party links (0.02s)
PASS should be watchable by default (0.03s)
SKIP should create a new season when created new (0.02s)
FormattingHelperTest:
SKIP facebook like with a simple argument (0.00s)
SKIP facebook like with no argument (0.00s)
PASS format episode name (0.00s)
PASS format episode name with untitled episode (0.00s)
PASS format episode tag (0.00s)
PASS format reputation with double digit rep (0.29s)
PASS format reputation with single digit rep (0.00s)
PASS format reputation with zero rep (0.00s)
PASS format season and episode tag (0.00s)
PASS format season name (0.00s)
PASS format season tag (0.00s)
PASS format show name (0.00s)
PASS format show season episode name (0.00s)
PASS format show season name (0.00s)
PASS format show status (0.00s)
PASS private format season episode tag (0.00s)
GenreTest:
PASS Factory works as expected (0.02s)
PASS should validate presence of name (0.01s)
PASS should validate unqieuess of name (0.01s)
HashExtensionTest:
PASS should take the best from both sides and modify the receiver (0.00s)
PASS should take the best from both sides without modifying the receiver (0.00s)
NetworkTest:
PASS being invalid with a duplicate name (0.01s)
PASS being invalid without a name (0.00s)
NotificationItemTest:
PASS should be valid without subject and actor if verb is created (0.09s)
PASS should know which template to use (0.07s)
PASS should not be valid without its objekt (0.00s)
PASS should not be valid without its subject (0.00s)
ERROR should validate associated objekt (0.06s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
PASS should validate associated subject (0.14s)
PathNameTokeniserTest:
PASS date extractor (0.01s)
PASS episode extractor (0.01s)
PASS extraction of season (0.01s)
PASS returned word lists (0.03s)
ScreenCapUploaderTest:
SKIP screen cap uploader large version (0.10s)
SearchEngineTest:
SKIP the search engine (0.00s)
SeasonTest:
PASS belonging to show (0.00s)
ERROR first and last season? (0.03s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
PASS having many episodes (0.00s)
PASS should be watchable by default (0.00s)
PASS should not be valid with a duplicate season number within the same show (0.02s)
ERROR should not be valid without a season number (0.03s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
PASS should not be valid without show (0.00s)
ShowCoverUploaderTest:
SKIP show cover uploader large version (1.57s)
ShowMinerTest:
ERROR returned result contains data from both apis (0.17s)
NoMethodError: undefined method `name' for nil:NilClass
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/activesupport-3.1.0.rc6/lib/active_support/whiny_nil.rb:48:in `method_missing'
FAIL returned result is an instance of show (0.13s)
Failed assertion, no message given.
/Users/sean.handley/Code/watched.it/test/unit/show_miner_test.rb:50:in `test_returned_result_is_an_instance_of_show'
PASS should work with a hash (0.01s)
ERROR show is linked to two apis (0.06s)
NoMethodError: undefined method `third_party_link_id_for' for nil:NilClass
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/activesupport-3.1.0.rc6/lib/active_support/whiny_nil.rb:48:in `method_missing'
ShowPosterUploaderTest:
SKIP show cover uploader large version (0.53s)
ShowTest:
ERROR being findable by multiple third party links (0.14s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ERROR being findable by third party link (0.03s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ERROR belonging to a network (0.03s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ERROR belonging to genres (0.03s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ERROR counting watches when watchable (0.03s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ERROR having many episodes (0.11s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ERROR having many seasons (0.03s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ERROR not being valid with a duplicate name in the same country (0.03s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ERROR not being valid without a country (0.03s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ERROR not being valid without a name (0.10s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ERROR not being valid without a network (0.03s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ERROR responding to third party links (0.03s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ERROR should access stauts as a symbol (0.03s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ERROR should have a recent scope for anything in the last two years (0.03s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ERROR should have an active scope on shows (0.11s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ERROR should not allow duplicate third party links (0.03s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ERROR should not be watchable by default (0.03s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ERROR smart approximation of ascii in to param (0.03s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ERROR smart handling of brackets and punctuation in to param (0.11s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ERROR validates range of started (0.03s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ThirdPartyLinkTest:
PASS belonging to third party linable (0.00s)
PASS validating presence of link name (0.00s)
PASS validating presence of link reference (0.00s)
ERROR validity of compound unqueness constaint (0.03s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
UserTest:
PASS can watch watchable episode (0.15s)
ERROR can watch watchable show (0.05s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
PASS has enumerable watches (0.00s)
PASS not valid without a locale (0.01s)
PASS not valid without location (0.01s)
PASS not valid without name (0.02s)
PASS should allow mass assignment of email (0.01s)
PASS should allow mass assignment of name (0.01s)
PASS should allow mass assignment of password (0.08s)
PASS should be valid out of the factory (0.01s)
PASS should be valid out of the factory when reloaded (0.04s)
PASS should validate uniqueness of email (0.03s)
PASS should validate uniqueness of name (0.10s)
PASS special condition for the systems first user (0.04s)
PASS user has enumerable notification items (0.00s)
WatchTest:
PASS should be valid out of the factory (0.08s)
PASS should create an activity item when created (0.16s)
PASS should not be valid without its watchable attached (0.01s)
Finished in 6.790599 seconds.
110 tests, 185 assertions, 1 failures, 30 errors, 7 skips
/Users/sean.handley/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/csv.rb:201: warning: already initialized constant VERSION
/Users/sean.handley/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/csv.rb:863: warning: already initialized constant FieldInfo
/Users/sean.handley/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/csv.rb:866: warning: already initialized constant DateMatcher
/Users/sean.handley/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/csv.rb:869: warning: already initialized constant DateTimeMatcher
/Users/sean.handley/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/csv.rb:874: warning: already initialized constant ConverterEncoding
/Users/sean.handley/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/csv.rb:900: warning: already initialized constant Converters
/Users/sean.handley/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/csv.rb:945: warning: already initialized constant HeaderConverters
/Users/sean.handley/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/csv.rb:968: warning: already initialized constant DEFAULT_OPTIONS
Loaded suite /Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/rake_test_loader
Started
EpisodesControllerTest:
ERROR show (0.50s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
HomeControllerTest:
PASS homepage (0.40s)
SKIP should get index only once (0.00s)
RegistrationsControllerTest:
PASS should be able to register with valid details (0.25s)
PASS should not be able to register with invalid details (0.59s)
PASS there is a new registrations page (0.11s)
SearchControllerTest:
ERROR search html (0.03s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ERROR search js with no query (0.03s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ERROR search js with query matching one result (0.03s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ERROR search js with query matching two results (0.11s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
SearchEngineTest:
ERROR should empty search results when truncate is called (0.04s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ERROR should find five shows when searching for a wildcard (0.04s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ERROR should find two shows when searching for a woman (0.11s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ERROR should return nil with no keywords sent (0.04s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
SearchRoutingTest:
PASS should route seach search with a parameter (0.01s)
SeasonRoutingTest:
PASS should route show seasons show (0.00s)
SeasonsControllerTest:
ERROR show (0.03s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ShowMinerTest:
FAIL should create four third party links (0.53s)
<4> expected but was
<0>.
/Users/sean.handley/Code/watched.it/test/functional/models/show_miner_test.rb:72:in `test_should_create_four_third_party_links'
FAIL should create two networks (0.26s)
<2> expected but was
<0>.
/Users/sean.handley/Code/watched.it/test/functional/models/show_miner_test.rb:68:in `test_should_create_two_networks'
FAIL should have five episodes (0.33s)
<5> expected but was
<0>.
/Users/sean.handley/Code/watched.it/test/functional/models/show_miner_test.rb:64:in `test_should_have_five_episodes'
ERROR should have properly extracted dr who (0.36s)
NoMethodError: undefined method `name' for nil:NilClass
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/activesupport-3.1.0.rc6/lib/active_support/whiny_nil.rb:48:in `method_missing'
ERROR should have properly extracted mr benn (0.26s)
NoMethodError: undefined method `name' for nil:NilClass
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/activesupport-3.1.0.rc6/lib/active_support/whiny_nil.rb:48:in `method_missing'
FAIL should have two shows (0.34s)
<2> expected but was
<0>.
/Users/sean.handley/Code/watched.it/test/functional/models/show_miner_test.rb:60:in `test_should_have_two_shows'
ShowRoutingTest:
SKIP should route pagionated show filters (0.00s)
PASS should route show filters (0.00s)
PASS should route shows index (0.00s)
PASS should route shows index with page numbers (0.00s)
PASS should route shows show (0.00s)
ShowsControllerTest:
ERROR index (0.03s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ERROR index with filter active (0.03s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ERROR index with filter recent (0.11s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
ERROR show (0.03s)
Errno::ECONNREFUSED: Connection refused - connect(2)
/Users/sean.handley/.rvm/gems/ruby-1.9.2-p290@watchedit/gems/webmock-1.7.2/lib/webmock/http_lib_adapters/net_http.rb:128:in `request_with_webmock'
Finished in 4.641277 seconds.
32 tests, 28 assertions, 4 failures, 16 errors, 2 skips
Errors running test:units, test:functionals!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment