Sha256: 9c3dae1a0cbf45ad74467b9d5a53ef20aeeab0ea07a7fdf016efd9174bb28322
Contents?: true
Size: 634 Bytes
Versions: 1
Compression:
Stored size: 634 Bytes
Contents
#!/usr/bin/env rspec require 'spec_helper' describe "NOMS::Command::Application" do before(:all) do setup_fixture start_server end after(:all) do stop_server teardown_fixture end describe ".new" do before(:each) do @app = NOMS::Command::Application. new('http://localhost:8787/auth/dnc.json', ['dnc']) end # it "prompts for authentication" do # expect { # @app.fetch! # }.to output(Regexp.new 'Authorization Required at http://localhost:8787').to_stdout # end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
noms-command-0.5.0 | spec/10auth_spec.rb |