Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removing duploicate specs, adding missing ones, adding Webhook and Fa…
…q objects
- Loading branch information
1 parent
a52739b
commit 819eef5
Showing
10 changed files
with
75 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module Tenderize | ||
class Faq < Base | ||
base_uri "#{tender_api_url}/faqs" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module Tenderize | ||
class Webhook < Base | ||
base_uri "#{tender_api_url}/webhooks" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
require File.dirname(__FILE__) + '/spec_helper' | ||
|
||
describe Tenderize::Faq do | ||
context "as a class" do | ||
it "should respond to all" do | ||
Tenderize::Faq.respond_to?(:all).should be_true | ||
end | ||
|
||
it "should respond to find" do | ||
Tenderize::Faq.respond_to?(:find).should be_true | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
require File.dirname(__FILE__) + '/spec_helper' | ||
|
||
describe Tenderize::Section do | ||
context "as a class" do | ||
it "should respond to all" do | ||
Tenderize::Section.respond_to?(:all).should be_true | ||
end | ||
|
||
it "should respond to find" do | ||
Tenderize::Section.respond_to?(:find).should be_true | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
require File.dirname(__FILE__) + '/spec_helper' | ||
|
||
describe Tenderize::Site do | ||
context "as a class" do | ||
it "should respond to all" do | ||
Tenderize::Site.respond_to?(:all).should be_true | ||
end | ||
|
||
it "should respond to find" do | ||
Tenderize::Site.respond_to?(:find).should be_true | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
require File.dirname(__FILE__) + '/spec_helper' | ||
|
||
describe Tenderize::User do | ||
context "as a class" do | ||
it "should respond to all" do | ||
Tenderize::User.respond_to?(:all).should be_true | ||
end | ||
|
||
it "should respond to find" do | ||
Tenderize::User.respond_to?(:find).should be_true | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
require File.dirname(__FILE__) + '/spec_helper' | ||
|
||
describe Tenderize::Webhook do | ||
context "as a class" do | ||
it "should respond to all" do | ||
Tenderize::Webhook.respond_to?(:all).should be_true | ||
end | ||
|
||
it "should respond to find" do | ||
Tenderize::Webhook.respond_to?(:find).should be_true | ||
end | ||
end | ||
end |