Added Spork & Guard to the test suite #3077

Closed
wants to merge 8 commits into
from

Conversation

Projects
None yet
2 participants
Contributor

tubbo commented Mar 28, 2012

On the latest bug mash monday there was a request for Spork. So I added it. While coding, @sarahmei mentioned that Spork is basically useless without Guard, so I also added a Guardfile that watches app code, rspec tests and cucumber stories.

Sorry I attempted to git rebase -i but it gave me shit since I had pushed already.

Tom Scott added some commits Mar 27, 2012

integrated Spork with RSpec. our tests should run faster now.
this feature was requested in: http://devblog.joindiaspora.com/2012/03/26/bug-mash-monday-week-5/

- added Spork to the Gemfile
- wrapped spec_helper.rb in the prefork block
- moved AppConfig.load! and .setup! to the each_run block
- tests failed the first time i ran them, but the second time they were fine. @msalzberg mentioned that webmock may be the culprit but i will defer until i see the issue pop up again..
installed Guard
- put all the before/after events in each_run for Cucumber, and everything else in prefork
- bootstrapped the Guardfile
- ran Guard one just to make sure it works
Owner

maxwell commented Mar 28, 2012

woooooo-ooooooo cool.

For the record, when/where does this seam to be encountering weirdness to see if people want to help test it?

Contributor

tubbo commented Mar 28, 2012

alright here it is...in all its glory, the failed cuke steps:

(::) failed steps (::)

unable to obtain stable firefox connection in 60 seconds (127.0.0.1:7055) (Selenium::WebDriver::Error::WebDriverError)
./features/step_definitions/web_steps.rb:19:in `/^(?:|I )am on (.+)$/'
features/accepts_invitation.feature:5:in `And I am on my acceptance form page'

Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotVisibleError)
[remote server] resource://fxdriver/modules/atoms.js:10071:in `unknown'
[remote server] file:///var/folders/99/v4tlr7_d1kl1p01fmzz0jj300000gn/T/webdriver-profile20120328-60005-106mlpy/extensions/fxdriver@googlecode.com/components/command_processor.js:10040:in `unknown'
[remote server] file:///var/folders/99/v4tlr7_d1kl1p01fmzz0jj300000gn/T/webdriver-profile20120328-60005-106mlpy/extensions/fxdriver@googlecode.com/components/command_processor.js:10059:in `unknown'
[remote server] file:///var/folders/99/v4tlr7_d1kl1p01fmzz0jj300000gn/T/webdriver-profile20120328-60005-106mlpy/extensions/fxdriver@googlecode.com/components/command_processor.js:10064:in `unknown'
[remote server] file:///var/folders/99/v4tlr7_d1kl1p01fmzz0jj300000gn/T/webdriver-profile20120328-60005-106mlpy/extensions/fxdriver@googlecode.com/components/command_processor.js:10015:in `unknown'
(eval):2:in `click_link'
./features/step_definitions/web_steps.rb:36:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:13:in `with_scope'
./features/step_definitions/web_steps.rb:35:in `/^(?:|I )follow "([^"]*)"(?: within "([^"]*)")?$/'
features/download_photos.feature:8:in `And I follow "settings"'

cannot fill in, no text field, text area or password field with id, name, or label 'Diaspora ID' found (Capybara::ElementNotFound)
(eval):2:in `fill_in'
./features/step_definitions/web_steps.rb:42:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:13:in `with_scope'
./features/step_definitions/web_steps.rb:41:in `/^(?:|I )fill in "([^"]*)" with "([^"]*)"(?: within "([^"]*)")?$/'
features/oauth.feature:12:in `When I try to authorize Chubbies'

cannot fill in, no text field, text area or password field with id, name, or label 'Diaspora ID' found (Capybara::ElementNotFound)
(eval):2:in `fill_in'
./features/step_definitions/web_steps.rb:42:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:13:in `with_scope'
./features/step_definitions/web_steps.rb:41:in `/^(?:|I )fill in "([^"]*)" with "([^"]*)"(?: within "([^"]*)")?$/'
features/oauth.feature:22:in `And I try to authorize Chubbies'

cannot fill in, no text field, text area or password field with id, name, or label 'Diaspora ID' found (Capybara::ElementNotFound)
(eval):2:in `fill_in'
./features/step_definitions/web_steps.rb:42:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:13:in `with_scope'
./features/step_definitions/web_steps.rb:41:in `/^(?:|I )fill in "([^"]*)" with "([^"]*)"(?: within "([^"]*)")?$/'
features/oauth.feature:33:in `And I fill in "Diaspora ID" with "bob@localhost:9887"'

cannot fill in, no text field, text area or password field with id, name, or label 'Diaspora ID' found (Capybara::ElementNotFound)
(eval):2:in `fill_in'
./features/step_definitions/web_steps.rb:42:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:13:in `with_scope'
./features/step_definitions/web_steps.rb:41:in `/^(?:|I )fill in "([^"]*)" with "([^"]*)"(?: within "([^"]*)")?$/'
features/oauth.feature:39:in `When I try to authorize Chubbies'

cannot fill in, no text field, text area or password field with id, name, or label 'Diaspora ID' found (Capybara::ElementNotFound)
(eval):2:in `fill_in'
./features/step_definitions/web_steps.rb:42:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:13:in `with_scope'
./features/step_definitions/web_steps.rb:41:in `/^(?:|I )fill in "([^"]*)" with "([^"]*)"(?: within "([^"]*)")?$/'
features/oauth.feature:47:in `When I try to authorize Chubbies'

cannot fill in, no text field, text area or password field with id, name, or label 'Diaspora ID' found (Capybara::ElementNotFound)
(eval):2:in `fill_in'
./features/step_definitions/web_steps.rb:42:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:13:in `with_scope'
./features/step_definitions/web_steps.rb:41:in `/^(?:|I )fill in "([^"]*)" with "([^"]*)"(?: within "([^"]*)")?$/'
features/oauth.feature:57:in `When I try to authorize Chubbies'

cannot fill in, no text field, text area or password field with id, name, or label 'Diaspora ID' found (Capybara::ElementNotFound)
(eval):2:in `fill_in'
./features/step_definitions/web_steps.rb:42:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:13:in `with_scope'
./features/step_definitions/web_steps.rb:41:in `/^(?:|I )fill in "([^"]*)" with "([^"]*)"(?: within "([^"]*)")?$/'
features/oauth.feature:71:in `When I try to authorize Chubbies'

cannot fill in, no text field, text area or password field with id, name, or label 'Diaspora ID' found (Capybara::ElementNotFound)
(eval):2:in `fill_in'
./features/step_definitions/web_steps.rb:42:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:13:in `with_scope'
./features/step_definitions/web_steps.rb:41:in `/^(?:|I )fill in "([^"]*)" with "([^"]*)"(?: within "([^"]*)")?$/'
features/oauth.feature:81:in `When I try to authorize Chubbies'

cannot fill in, no text field, text area or password field with id, name, or label 'Diaspora ID' found (Capybara::ElementNotFound)
(eval):2:in `fill_in'
./features/step_definitions/web_steps.rb:42:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:13:in `with_scope'
./features/step_definitions/web_steps.rb:41:in `/^(?:|I )fill in "([^"]*)" with "([^"]*)"(?: within "([^"]*)")?$/'
features/oauth.feature:96:in `When I try to authorize Chubbies'

cannot fill in, no text field, text area or password field with id, name, or label 'Diaspora ID' found (Capybara::ElementNotFound)
(eval):2:in `fill_in'
./features/step_definitions/web_steps.rb:42:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:13:in `with_scope'
./features/step_definitions/web_steps.rb:41:in `/^(?:|I )fill in "([^"]*)" with "([^"]*)"(?: within "([^"]*)")?$/'
features/oauth.feature:107:in `When I try to authorize Chubbies'

no button with value or id or text 'Login' found (Capybara::ElementNotFound)
(eval):2:in `click_button'
./features/step_definitions/web_steps.rb:30:in `block (3 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:28:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:13:in `with_scope'
./features/step_definitions/web_steps.rb:27:in `/^(?:|I )press "([^"]*)"(?: within "([^"]*)")?$/'
features/oembed.feature:10:in `When I sign in as "alice@alice.alice"'

no button with value or id or text 'Login' found (Capybara::ElementNotFound)
(eval):2:in `click_button'
./features/step_definitions/web_steps.rb:30:in `block (3 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:28:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:13:in `with_scope'
./features/step_definitions/web_steps.rb:27:in `/^(?:|I )press "([^"]*)"(?: within "([^"]*)")?$/'
features/photo_lightbox.feature:7:in `When I sign in as "bob@bob.bob"'

no button with value or id or text 'Login' found (Capybara::ElementNotFound)
(eval):2:in `click_button'
./features/step_definitions/web_steps.rb:30:in `block (3 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:28:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:13:in `with_scope'
./features/step_definitions/web_steps.rb:27:in `/^(?:|I )press "([^"]*)"(?: within "([^"]*)")?$/'
features/post_viewer.feature:9:in `And I sign in as "alice@alice.com"'

no button with value or id or text 'Login' found (Capybara::ElementNotFound)
(eval):2:in `click_button'
./features/step_definitions/web_steps.rb:30:in `block (3 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:28:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:13:in `with_scope'
./features/step_definitions/web_steps.rb:27:in `/^(?:|I )press "([^"]*)"(?: within "([^"]*)")?$/'
features/posts_from_main_page.feature:10:in `And I sign in as "bob@bob.bob"'

no button with value or id or text 'Login' found (Capybara::ElementNotFound)
(eval):2:in `click_button'
./features/step_definitions/web_steps.rb:30:in `block (3 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:28:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:13:in `with_scope'
./features/step_definitions/web_steps.rb:27:in `/^(?:|I )press "([^"]*)"(?: within "([^"]*)")?$/'
features/reshare.feature:16:in `And I sign in as "alice@alice.alice"'

no button with value or id or text 'Login' found (Capybara::ElementNotFound)
(eval):2:in `click_button'
./features/step_definitions/web_steps.rb:30:in `block (3 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:28:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:13:in `with_scope'
./features/step_definitions/web_steps.rb:27:in `/^(?:|I )press "([^"]*)"(?: within "([^"]*)")?$/'
features/show_more.feature:9:in `And I sign in as "bob@bob.bob"'

cannot fill in, no text field, text area or password field with id, name, or label 'user_username' found (Capybara::ElementNotFound)
(eval):2:in `fill_in'
./features/step_definitions/web_steps.rb:42:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:13:in `with_scope'
./features/step_definitions/web_steps.rb:41:in `/^(?:|I )fill in "([^"]*)" with "([^"]*)"(?: within "([^"]*)")?$/'
features/signs_up.feature:6:in `And I fill in "user_username" with "ohai"'

no button with value or id or text 'Login' found (Capybara::ElementNotFound)
(eval):2:in `click_button'
./features/step_definitions/web_steps.rb:30:in `block (3 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:28:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:13:in `with_scope'
./features/step_definitions/web_steps.rb:27:in `/^(?:|I )press "([^"]*)"(?: within "([^"]*)")?$/'
features/stops_following_users.feature:10:in `When I sign in as "bob@bob.bob"'

no button with value or id or text 'Login' found (Capybara::ElementNotFound)
(eval):2:in `click_button'
./features/step_definitions/web_steps.rb:30:in `block (3 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:28:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:13:in `with_scope'
./features/step_definitions/web_steps.rb:27:in `/^(?:|I )press "([^"]*)"(?: within "([^"]*)")?$/'
features/tags.feature:6:in `And I am signed in'

Failing Scenarios:
cucumber features/accepts_invitation.feature:3 # Scenario: accept invitation from admin
cucumber features/download_photos.feature:5 # Scenario: Download my photos
cucumber features/oauth.feature:11 # Scenario: Authorize Chubbies
cucumber features/oauth.feature:19 # Scenario: Signup+login (Diaspora Connect) with Chubbies
cucumber features/oauth.feature:28 # Scenario: Signing up as a user while someone else is logged into Diaspora
cucumber features/oauth.feature:38 # Scenario: Not authorize Chubbies
cucumber features/oauth.feature:45 # Scenario: Authorize Chubbies when Chubbies is already connected
cucumber features/oauth.feature:55 # Scenario: Authorize Chubbies when the pod knows about Chubbies
cucumber features/oauth.feature:70 # Scenario: Authorize Chubbies should place it on the authorized applications page
cucumber features/oauth.feature:80 # Scenario: Removing Chubbies from the authorized applications list de-authorizes it
cucumber features/oauth.feature:92 # Scenario: Re-registering a client if the client recognizes the diaspora pod but the diaspora pod has since been reset
cucumber features/oauth.feature:103 # Scenario: Login in with Chubbies when you already authorized it
cucumber features/oembed.feature:13 # Scenario: Post a secure video link
cucumber features/photo_lightbox.feature:16 # Scenario: viewing a photo
cucumber features/post_viewer.feature:11 # Scenario: Paging through posts
cucumber features/posts_from_main_page.feature:18 # Scenario: post a text-only message to all aspects
cucumber features/reshare.feature:14 # Scenario: When I reshare, it shows up on my profile page
cucumber features/show_more.feature:12 # Scenario: post a very long message
cucumber features/signs_up.feature:16 # Scenario: new user goes through the setup wizard
cucumber features/stops_following_users.feature:14 # Scenario: stop following someone while on their profile page
cucumber features/tags.feature:9 # Scenario: Searching for a tag

97 scenarios (21 failed, 22 skipped, 54 passed)
1258 steps (21 failed, 502 skipped, 735 passed)
5m56.492s
Owner

maxwell commented Mar 29, 2012

Are you running FF for cucumber in the foreground, or in the background somehow?

Contributor

tubbo commented Mar 29, 2012

I was running it in the background while I did other things.

Owner

maxwell commented Mar 29, 2012

ok great, but Firefox came up and did its magic? (on ci we have some magic incantation to do it in the background)

Contributor

tubbo commented Mar 31, 2012

Yeah. Firefox popped up and I saw it run through all the steps.

Owner

maxwell commented Mar 31, 2012

hmm, I can't seem to get spork to even start running.

EDIT: forgot to bundle exec, I am dumb

Contributor

tubbo commented Mar 31, 2012

try bundle exec spork?

Owner

maxwell commented Mar 31, 2012

yeah, sorry, I commented too soon and realized the error of my ways. running features now!

Contributor

tubbo commented Mar 31, 2012

Hah it's cool. I make that mistake all the time...

On Mar 31, 2012, at 12:38 AM, Maxwell Salzbergreply@reply.github.com wrote:

yeah, sorry, I commented too soon and realized the error of my ways. running features now!


Reply to this email directly or view it on GitHub:
#3077 (comment)

Owner

maxwell commented Mar 31, 2012

rad! merged on top of latest master with latest cuke fixes, i only get a few errors!



Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotVisibleError)
[remote server] resource://fxdriver/modules/atoms.js:10071:in `unknown'
[remote server] file:///var/folders/g5/qnsr9w19687bthvjwx__zcl00000gn/T/webdriver-profile20120331-20098-tsj9r2/extensions/fxdriver@googlecode.com/components/command_processor.js:10040:in `unknown'
[remote server] file:///var/folders/g5/qnsr9w19687bthvjwx__zcl00000gn/T/webdriver-profile20120331-20098-tsj9r2/extensions/fxdriver@googlecode.com/components/command_processor.js:10059:in `unknown'
[remote server] file:///var/folders/g5/qnsr9w19687bthvjwx__zcl00000gn/T/webdriver-profile20120331-20098-tsj9r2/extensions/fxdriver@googlecode.com/components/command_processor.js:10064:in `unknown'
[remote server] file:///var/folders/g5/qnsr9w19687bthvjwx__zcl00000gn/T/webdriver-profile20120331-20098-tsj9r2/extensions/fxdriver@googlecode.com/components/command_processor.js:10015:in `unknown'
(eval):2:in `click_link'
./features/step_definitions/web_steps.rb:36:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:13:in `with_scope'
./features/step_definitions/web_steps.rb:35:in `/^(?:|I )follow "([^"]*)"(?: within "([^"]*)")?$/'
features/download_photos.feature:8:in `And I follow "settings"'

Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotVisibleError)
[remote server] resource://fxdriver/modules/atoms.js:10071:in `unknown'
[remote server] file:///var/folders/g5/qnsr9w19687bthvjwx__zcl00000gn/T/webdriver-profile20120331-20098-tsj9r2/extensions/fxdriver@googlecode.com/components/command_processor.js:10040:in `unknown'
[remote server] file:///var/folders/g5/qnsr9w19687bthvjwx__zcl00000gn/T/webdriver-profile20120331-20098-tsj9r2/extensions/fxdriver@googlecode.com/components/command_processor.js:10059:in `unknown'
[remote server] file:///var/folders/g5/qnsr9w19687bthvjwx__zcl00000gn/T/webdriver-profile20120331-20098-tsj9r2/extensions/fxdriver@googlecode.com/components/command_processor.js:10064:in `unknown'
[remote server] file:///var/folders/g5/qnsr9w19687bthvjwx__zcl00000gn/T/webdriver-profile20120331-20098-tsj9r2/extensions/fxdriver@googlecode.com/components/command_processor.js:10015:in `unknown'
./features/step_definitions/custom_web_steps.rb:90:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:13:in `block in with_scope'
./features/step_definitions/web_steps.rb:13:in `with_scope'
./features/step_definitions/custom_web_steps.rb:89:in `/^I press the ([\d])(?:nd|rd|st|th) "([^\"]*)"(?: within "([^\"]*)")?$/'
features/photo_lightbox.feature:18:in `And I press the attached image'

Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotVisibleError)
[remote server] resource://fxdriver/modules/atoms.js:10071:in `unknown'
[remote server] file:///var/folders/g5/qnsr9w19687bthvjwx__zcl00000gn/T/webdriver-profile20120331-20098-tsj9r2/extensions/fxdriver@googlecode.com/components/command_processor.js:10040:in `unknown'
[remote server] file:///var/folders/g5/qnsr9w19687bthvjwx__zcl00000gn/T/webdriver-profile20120331-20098-tsj9r2/extensions/fxdriver@googlecode.com/components/command_processor.js:10059:in `unknown'
[remote server] file:///var/folders/g5/qnsr9w19687bthvjwx__zcl00000gn/T/webdriver-profile20120331-20098-tsj9r2/extensions/fxdriver@googlecode.com/components/command_processor.js:10064:in `unknown'
[remote server] file:///var/folders/g5/qnsr9w19687bthvjwx__zcl00000gn/T/webdriver-profile20120331-20098-tsj9r2/extensions/fxdriver@googlecode.com/components/command_processor.js:10015:in `unknown'
./features/step_definitions/custom_web_steps.rb:90:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:13:in `block in with_scope'
./features/step_definitions/web_steps.rb:13:in `with_scope'
./features/step_definitions/custom_web_steps.rb:89:in `/^I press the ([\d])(?:nd|rd|st|th) "([^\"]*)"(?: within "([^\"]*)")?$/'
features/photo_lightbox.feature:23:in `And I press the attached image'

Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotVisibleError)
[remote server] resource://fxdriver/modules/atoms.js:10071:in `unknown'
[remote server] file:///var/folders/g5/qnsr9w19687bthvjwx__zcl00000gn/T/webdriver-profile20120331-20098-tsj9r2/extensions/fxdriver@googlecode.com/components/command_processor.js:10040:in `unknown'
[remote server] file:///var/folders/g5/qnsr9w19687bthvjwx__zcl00000gn/T/webdriver-profile20120331-20098-tsj9r2/extensions/fxdriver@googlecode.com/components/command_processor.js:10059:in `unknown'
[remote server] file:///var/folders/g5/qnsr9w19687bthvjwx__zcl00000gn/T/webdriver-profile20120331-20098-tsj9r2/extensions/fxdriver@googlecode.com/components/command_processor.js:10064:in `unknown'
[remote server] file:///var/folders/g5/qnsr9w19687bthvjwx__zcl00000gn/T/webdriver-profile20120331-20098-tsj9r2/extensions/fxdriver@googlecode.com/components/command_processor.js:10015:in `unknown'
./features/step_definitions/custom_web_steps.rb:90:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:13:in `block in with_scope'
./features/step_definitions/web_steps.rb:13:in `with_scope'
./features/step_definitions/custom_web_steps.rb:89:in `/^I press the ([\d])(?:nd|rd|st|th) "([^\"]*)"(?: within "([^\"]*)")?$/'
features/photo_lightbox.feature:29:in `And I press the attached image'

expected #has_no_content?("Here is a post for you to hide") to return true, got false (RSpec::Expectations::ExpectationNotMetError)
./features/step_definitions/web_steps.rb:132:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:13:in `with_scope'
./features/step_definitions/web_steps.rb:130:in `/^(?:|I )should not see "([^"]*)"(?: within "([^"]*)")?$/'
features/posts_from_main_page.feature:126:in `Then I should not see "Here is a post for you to hide"'
Owner

maxwell commented Mar 31, 2012

the "out of bounds" errors I sometimes get because of my small screen. I am going to check out he other one be this could be good to merge :)

Owner

maxwell commented Mar 31, 2012

Any idea why it seems to say it is doing everything twice?


Using Cucumber, Unknown
Loading Spork.prefork block...
Loading Spork.prefork block...
ERROR: Could not start Spork server for RSpec, Cucumber after 30 seconds. I will continue waiting for a further 60 seconds.
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from acts_as_taggable_on at /Users/maxwell/.rvm/gems/ruby-1.9.2-p290@diaspora/bundler/gems/acts-as-taggable-on-c3592fe1a906/lib/acts_as_taggable_on/acts_as_taggable_on.rb:34)
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from acts_as_taggable_on at /Users/maxwell/.rvm/gems/ruby-1.9.2-p290@diaspora/bundler/gems/acts-as-taggable-on-c3592fe1a906/lib/acts_as_taggable_on/acts_as_taggable_on.rb:34)
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from acts_as_taggable_on at /Users/maxwell/.rvm/gems/ruby-1.9.2-p290@diaspora/bundler/gems/acts-as-taggable-on-c3592fe1a906/lib/acts_as_taggable_on/acts_as_taggable_on.rb:34)
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from acts_as_taggable_on at /Users/maxwell/.rvm/gems/ruby-1.9.2-p290@diaspora/bundler/gems/acts-as-taggable-on-c3592fe1a906/lib/acts_as_taggable_on/acts_as_taggable_on.rb:34)
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from acts_as_taggable_on at /Users/maxwell/.rvm/gems/ruby-1.9.2-p290@diaspora/bundler/gems/acts-as-taggable-on-c3592fe1a906/lib/acts_as_taggable_on/acts_as_taggable_on.rb:34)
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from acts_as_taggable_on at /Users/maxwell/.rvm/gems/ruby-1.9.2-p290@diaspora/bundler/gems/acts-as-taggable-on-c3592fe1a906/lib/acts_as_taggable_on/acts_as_taggable_on.rb:34)
=> Building fixtures
Spork is ready and listening on 8990!
=> Built aspect_memberships.yml, aspects.yml, contacts.yml, people.yml, profiles.yml, and users.yml
Spork is ready and listening on 8989!

Owner

maxwell commented Mar 31, 2012

Or how we can get the features to not run the first time thru? I tried the all_on_start false but it doesnt seem to be listening :/

Owner

maxwell commented Mar 31, 2012

ok. progress report.

TL;DR this is pull-able, and I am leaving some notes here for those who want to read it, and myself.

  1. duplicate stuff is happening because spork wants separate DRB servers for rspec and cucumber? Does that sounds right? If i just bundle exec spork and then try to run bundle exec cucumber --drb features/something.feature it says that no DRB server is found , but if start spork with bundle exec spork cucumber everything seems hunky dory. There is some weirdness in that every time I start it either way, it says, Using Cucumber, Unknown or ```Using Rspec, Unknown

  2. Guard, against all better judgement, seems to want to run the features every time you start it :( Not really a blocker for he pull request, but a chore I should look into further, as it is kinda useless if it does this :(

  3. I added the --drb option to .rpsec file

Owner

maxwell commented Mar 31, 2012

hmmm, github did not auto close this? I merged it here:a54fb79

@maxwell maxwell closed this Mar 31, 2012

Owner

maxwell commented Mar 31, 2012

oh my god, this is so awesome. thank you so much!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment