Sha256: f029568c153cad8ddc47ef56042107b80f19933c7fb9bf5aab981b1e2c21031b
Contents?: true
Size: 472 Bytes
Versions: 19
Compression:
Stored size: 472 Bytes
Contents
require 'spec_helper' describe Rearview::MonitorController do before do sign_in_as create(:user) @routes = Rearview::Engine.routes end context "POST /monitor" do it "renders the create view" do json = JsonFactory::Monitor.create Rearview::MonitorRunner.expects(:run).with(json["metrics"],json["monitorExpr"],json["minutes"].to_s,{},false,json["toDate"],true).once post :create, json render_template(:create) end end end
Version data entries
19 entries across 19 versions & 1 rubygems