RaimundSchramm / gemoria

simple agile project management with focus on todo
1 stars 1 forks source link

javascript for new userstory/create userstory seems to run twice #20

Open RaimundSchramm opened 10 years ago

RaimundSchramm commented 10 years ago

First and only known place yet where it did occur was userstories#new and userstories#create requested from manage userstories page.

Seems to work in production right now after recent deployment.

Investigate further.

RaimundSchramm commented 10 years ago

seems to result from incorrect load order/multiple loading

see #66

RaimundSchramm commented 10 years ago

great...works in development, doesn't on travis -.-

Failures:

1) manage userstory create acceptance test

Failure/Error: before { login }

Capybara::Poltergeist::JavascriptError:

One or more errors were raised in the Javascript code on the page. If you don't care about these errors, you can ignore them by setting js_errors: false in your Poltergeist configuration (see documentation for details).

ReferenceError: Can't find variable: bootstrap
ReferenceError: Can't find variable: bootstrap
at ...assets/application.js:2
at ...assets/application.js:4
# ./spec/support/feature_helpers.rb:5:in `login'
# ./spec/features/manage_userstory_spec.rb:16:in `block (2 levels) in <top (required)>'