Skip to content

Commit

Permalink
Run specs using opal master
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Oct 26, 2013
1 parent 71512c6 commit 8e5432d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Gemfile
Expand Up @@ -2,6 +2,6 @@ source "https://rubygems.org"
gemspec

gem 'rake'
gem 'opal'
gem 'opal-spec'
gem 'opal-sprockets'
gem 'opal', :github => 'opal/opal'
gem 'opal-sprockets', :github => 'opal/opal-sprockets'
gem 'opal-spec', :github => 'opal/opal-spec'
2 changes: 1 addition & 1 deletion spec/http_spec.rb
Expand Up @@ -41,7 +41,7 @@
run_async { response.ok?.should be_true }
end
end

async 'returns false when the request failed' do
HTTP.get('spec/data/non_existant.txt') do |response|
run_async { response.ok?.should be_false }
Expand Down

0 comments on commit 8e5432d

Please sign in to comment.