{"action":"closed","issue":{"url":"https://api.github.com/repos/opal/opal-rails/issues/33","labels_url":"https://api.github.com/repos/opal/opal-rails/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/opal/opal-rails/issues/33/comments","events_url":"https://api.github.com/repos/opal/opal-rails/issues/33/events","html_url":"https://github.com/opal/opal-rails/issues/33","id":53603285,"number":33,"title":"opal specs not working","user":{"login":"cantonic","id":960200,"avatar_url":"https://avatars.githubusercontent.com/u/960200?v=3","gravatar_id":"","url":"https://api.github.com/users/cantonic","html_url":"https://github.com/cantonic","followers_url":"https://api.github.com/users/cantonic/followers","following_url":"https://api.github.com/users/cantonic/following{/other_user}","gists_url":"https://api.github.com/users/cantonic/gists{/gist_id}","starred_url":"https://api.github.com/users/cantonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cantonic/subscriptions","organizations_url":"https://api.github.com/users/cantonic/orgs","repos_url":"https://api.github.com/users/cantonic/repos","events_url":"https://api.github.com/users/cantonic/events{/privacy}","received_events_url":"https://api.github.com/users/cantonic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-07T06:46:33Z","updated_at":"2015-01-28T02:17:12Z","closed_at":"2015-01-28T02:17:12Z","body":"Hi there,\r\n\r\nrunning `rake opal:spec` results in this:\r\n\r\n```\r\nWARNING: Cannot handle dynamic require -- rspec/core/configuration:\r\nWARNING: Cannot handle dynamic require -- rspec/core/configuration:533\r\nWARNING: Cannot handle dynamic require -- rspec/core/configuration:857\r\nWARNING: Cannot handle dynamic require -- rspec/core/configuration:1095\r\nWARNING: Cannot handle dynamic require -- rspec/core/configuration:1095\r\nWARNING: Cannot handle dynamic require -- rspec/core:\r\nWARNING: Cannot handle dynamic require -- rspec/core:200\r\nWARNING: Cannot handle dynamic require -- rspec/core:200\r\nReferenceError: Can't find variable: jQuery\r\n\r\n  http://localhost:9999/assets/opal-rspec20150107-17829-1hvhbdt.js:34806\r\n  http://localhost:9999/assets/opal-rspec20150107-17829-1hvhbdt.js:43185\r\nSpecs timed out\r\n```\r\n\r\nthis is the file I am trying to test:\r\n\r\n```ruby\r\nrequire \"fullcalendar\"\r\nrequire \"events_new\"\r\n\r\nclass CalendarsIndex\r\n  def initialize(collection, selector='body')\r\n    @collection = collection\r\n    @element = Element.find(selector)\r\n    render_full_calendar\r\n    add_events\r\n  end\r\n  \r\n  attr_reader :element, :collection\r\n\r\n  def render_full_calendar\r\n    fc_options = {\r\n      header: {\r\n        left: 'prev,next today',\r\n        center: 'title',\r\n        right: 'month,basicWeek,basicDay'},\r\n      selectable: true,\r\n      selectHelper: true,\r\n      select: -> (starts, ends) { show_new_form(starts, ends) }\r\n    }\r\n\r\n    Element.expose :fullCalendar\r\n    element.fullCalendar(fc_options.to_n)\r\n  end\r\n\r\n  def add_events\r\n    element.fullCalendar('addEventSource', collection)\r\n  end  \r\n\r\n  def show_new_form(starts, ends)\r\n    event_form = EventsNew.new(starts, ends)\r\n  end\r\nend\r\n\r\nDocument.ready? do\r\n  events = Native(`window.gon.events`)\r\n  CalendarsIndex.new(events, \"#fullcalendar\")\r\nend\r\n```\r\n\r\nI found out that `fullcalendar` is causing the problem, so I removed the require statement from the top and required `fullcalendar` in ´app/assets/javascripts/application.js.rb`. Now I get this error:\r\n\r\n```\r\nWARNING: Cannot handle dynamic require -- rspec/core/configuration:\r\nWARNING: Cannot handle dynamic require -- rspec/core/configuration:533\r\nWARNING: Cannot handle dynamic require -- rspec/core/configuration:857\r\nWARNING: Cannot handle dynamic require -- rspec/core/configuration:1095\r\nWARNING: Cannot handle dynamic require -- rspec/core/configuration:1095\r\nWARNING: Cannot handle dynamic require -- rspec/core:\r\nWARNING: Cannot handle dynamic require -- rspec/core:200\r\nWARNING: Cannot handle dynamic require -- rspec/core:200\r\nNameError: uninitialized constant Object::Document\r\n\r\n  http://localhost:9999/assets/opal-rspec20150107-18079-1qg5hua.js:2804\r\n  http://localhost:9999/assets/opal-rspec20150107-18079-1qg5hua.js:1665\r\n  http://localhost:9999/assets/opal-rspec20150107-18079-1qg5hua.js:51\r\n  http://localhost:9999/assets/opal-rspec20150107-18079-1qg5hua.js:34790\r\n  http://localhost:9999/assets/opal-rspec20150107-18079-1qg5hua.js:1114 in load\r\n  http://localhost:9999/assets/opal-rspec20150107-18079-1qg5hua.js:1136 in require\r\n  http://localhost:9999/assets/opal-rspec20150107-18079-1qg5hua.js:2856\r\n  http://localhost:9999/assets/opal-rspec20150107-18079-1qg5hua.js:34982\r\n  http://localhost:9999/assets/opal-rspec20150107-18079-1qg5hua.js:34984\r\nSpecs timed out\r\n```\r\n\r\nAny idea what I might be missing? "}}