spec/lib/appsignal/extension_spec.rb in appsignal-0.12.beta.45 vs spec/lib/appsignal/extension_spec.rb in appsignal-0.12.beta.46
- old
+ new
@@ -20,20 +20,22 @@
it "should load the extension" do
Appsignal.extension_loaded?.should be_true
end
- it "should have a start method" do
+ it "should have a start and stop method" do
subject.start
+ subject.stop
end
context "with a valid config" do
before do
project_fixture_config.write_to_environment
end
- it "should have a start method" do
+ it "should have a start and stop method" do
subject.start
+ subject.stop
end
it "should have a start_transaction method" do
subject.start_transaction('request_id', 'http_request')
end