JoshCheek / miniature-octo-ironman

It's small. It had 8 legs. It sells weapons of mass comprehension to the most eager learner!
4 stars 4 forks source link

cucumber tests fail when offline #38

Open dalexj opened 9 years ago

dalexj commented 9 years ago

ReferenceError: Can't find variable: ace at http://localhost:1235/code_handler.js:2 at http://localhost:1235/code_handler.js:29 at http://localhost:1235/code_handler.js:51 (Capybara::Poltergeist::JavascriptError) ./features/support/step_definitions.rb:32:in /^I\ visit\ "(.*)"$/' features/omg.feature:49:inWhen I visit "/someowner/custom_lesson"

dalexj commented 9 years ago

commit 6bc1531d1af838810cb0b65df586fd00508a78cd

"Fix ACE code editor rendering. Load ACE from a CDN -> was wasting too much time figuring out loading js files locally in sinatra."

the ace javascript file hosted on the internet is inaccessable and throws us errors when cuke tests are run offline. maybe find some way to host this locally when not online?