Comments (2)
Not sure if this is a hacky solution, but I had the same problem and set my tests to run here:
Rails.application.routes.draw do
mount Konacha::Engine, at: "/konacha" if defined?(Konacha)
end
from konacha.
@rochej Oh interesting!
So I just tried this and it made all tests work in my development environment, but not for my staging environment. The problem is that my embedded script needs to hit my ever-changing server's address. Mounting konacha fixes the test vs dev environment issue, but I still need to specify the full URL.
Am I understanding this right? How do you hit a different URL when you deploy vs when you test?
from konacha.
Related Issues (20)
- undefined method `each_entry' for #<Sprockets::Environment:0x007fb129769378> HOT 11
- Tests failing due to Load Error HOT 1
- Unable to run Konacha in headless mode HOT 5
- How do I use Konacha when testing gemified javascript HOT 2
- undefined method `generate_key' for nil:NilClass HOT 1
- error when running with sprockets-rails 3.0.0 HOT 28
- Do you have any update/success with use some coverage formatter, like `istanbul`? HOT 1
- 'spec_dir' is a slightly misleading term because we can actually specify multiple directories.
- Require commonjs module, e.g. export.default HOT 1
- Using Konacha with poltergeist Missing Template Error
- Add an easy way to bind konacha server to 0.0.0.0 HOT 3
- Firefox 47 with selenium marionette driver fails
- Grep Path incorrect. HOT 1
- Rails 5 support HOT 6
- Rack application timed out during boot HOT 1
- Konacha:serve works but get error attempting to use the runner
- NoMethodError when using DocumentationFormatter and capybara_webkit
- Mocha v3.0.0 support
- Incompatible with colored gem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from konacha.