Skip to content

Commit

Permalink
Removing feedback_url.
Browse files Browse the repository at this point in the history
  • Loading branch information
erinesullivan committed Jan 11, 2024
1 parent 0a40c47 commit a17c469
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 35 deletions.
5 changes: 0 additions & 5 deletions lib/models/author_list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ def initialize(browse_list:)
@browse_list = browse_list
end

def feedback_url
# Author Browse specific url
"https://umich.qualtrics.com/jfe/form/SV_43jm8oGIRVLEBbo"
end

def name
"author"
end
Expand Down
4 changes: 0 additions & 4 deletions lib/models/browse_list_presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ def doc_title
raise NotImplementedError, "#{self.class} should have implemented..."
end

def feedback_url
"https://umich.qualtrics.com/jfe/form/SV_bCwYIKueEXs8wBf"
end

private

def nav_url(params)
Expand Down
5 changes: 0 additions & 5 deletions lib/models/subject_list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ def initialize(browse_list:)
@browse_list = browse_list
end

def feedback_url
# Subject Browse specific url
"https://umich.qualtrics.com/jfe/form/SV_brwYt0B1fSx0zFI"
end

def name
"subject"
end
Expand Down
7 changes: 0 additions & 7 deletions spec/models/author_list_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@
end
end

context "feedback_url" do
it "has a different url than the default form" do
expect(subject.feedback_url.class).to eq(String)
expect(subject.feedback_url).not_to eq(BrowseListPresenter.new(browse_list: nil).feedback_url)
end
end

context "match_text" do
it "returns appropriate text for no matches" do
allow(@browse_list).to receive(:num_matches).and_return(0)
Expand Down
7 changes: 0 additions & 7 deletions spec/models/callnumber_list_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@
end
end

context "feedback_url" do
it "has the default form url" do
expect(subject.feedback_url.class).to eq(String)
expect(subject.feedback_url).to eq(BrowseListPresenter.new(browse_list: nil).feedback_url)
end
end

context "match_text" do
it "returns appropriate text for no matches" do
allow(@browse_list).to receive(:num_matches).and_return(0)
Expand Down
7 changes: 0 additions & 7 deletions spec/models/subject_list_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@
end
end

context "feedback_url" do
it "has a different url than the default form" do
expect(subject.feedback_url.class).to eq(String)
expect(subject.feedback_url).not_to eq(BrowseListPresenter.new(browse_list: nil).feedback_url)
end
end

context "help_text" do
it "returns appropriate help text for browsing by subject" do
expect(subject.help_text.class).to eq(String)
Expand Down

0 comments on commit a17c469

Please sign in to comment.