Skip to content

Commit e664df5

Browse files
committed
Switch from rustc serialize to serde
1 parent c8996ef commit e664df5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tests/category.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,13 +178,13 @@ fn category_slugs_returns_all_slugs_in_alphabetical_order() {
178178

179179
let mut req = ::req(app, Method::Get, "/api/v1/category_slugs");
180180

181-
#[derive(RustcDecodable, Debug, PartialEq)]
181+
#[derive(Deserialize, Debug, PartialEq)]
182182
struct Slug {
183183
id: String,
184184
slug: String,
185185
}
186186

187-
#[derive(RustcDecodable, Debug, PartialEq)]
187+
#[derive(Deserialize, Debug, PartialEq)]
188188
struct Slugs {
189189
category_slugs: Vec<Slug>,
190190
}

0 commit comments

Comments
 (0)