Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/filestack_rails/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class Configuration
attr_accessor :api_key, :client_name, :secret_key, :security, :expiry, :app_secret, :cname

def api_key
@api_key or raise "Set config.filepicker_rails.api_key"
@api_key or raise "Set config.filestack_rails.api_key"
end

def client_name
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/configuration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
it "raise error when @api_key is not defined" do
expect do
configuration.api_key
end.to raise_error(RuntimeError, "Set config.filepicker_rails.api_key")
end.to raise_error(RuntimeError, "Set config.filestack_rails.api_key")
end
end

Expand Down