create-json #21

Merged
bucky merged 14 commits from create-json into master 2023-10-12 14:36:38 -07:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 0dec27a01c - Show all commits
Vendored
+1
View File
@@ -26,6 +26,7 @@ pipeline {
stage('Run tests') { stage('Run tests') {
steps { steps {
sh 'cucumber features --format html --out coverage/cucumber.html' sh 'cucumber features --format html --out coverage/cucumber.html'
sh 'rspec spec'
} }
} }
stage('Report results') { stage('Report results') {
+1 -1
View File
@@ -13,7 +13,7 @@ end
describe "Submit API request to create new link" do describe "Submit API request to create new link" do
include Rack::Test::Methods include Rack::Test::Methods
it "should return a link to the url provided" do it "should return link data in json format" do
post '/create' post '/create'
last_response.should be_ok last_response.should be_ok
end end