These are chat archives for opal/opal
Any hints / tips on structuring specs for a gem that runs in opal on the client, but also has a server side controller as well? I.e. I need to run tests for the opal libraries in phantomjs (okay can do that) and also have specs that will test the functionality of the server side controller.
From looking at the opal-rails code, it looks like I have this in the rake task:
require 'rspec/core/rake_task' RSpec::Core::RakeTask.new :rspec require File.expand_path('../test_app/config/application', __FILE__) TestApp::Application.load_tasks task :default => [:rspec, 'opal:spec']
and then the normal server side tests go in the normal spec directory...
but I don't quite see where the opal side tests would go? Is there a directory somewhere i missed?